{"id":17659743,"url":"https://github.com/raphamorim/wat","last_synced_at":"2025-05-07T15:02:40.677Z","repository":{"id":75482605,"uuid":"72261397","full_name":"raphamorim/wat","owner":"raphamorim","description":"[fsnotify] A cross-platform File Watcher that runs specific tasks when specific files are added, changed or deleted","archived":false,"fork":false,"pushed_at":"2017-10-04T05:54:35.000Z","size":1883,"stargazers_count":20,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T15:02:30.015Z","etag":null,"topics":["file","fsnotify","linux","osx","watch","watches","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphamorim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-29T02:55:26.000Z","updated_at":"2024-12-10T10:31:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff46a36c-c196-49ce-8b8d-2dfbddc73b35","html_url":"https://github.com/raphamorim/wat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fwat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fwat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fwat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Fwat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphamorim","download_url":"https://codeload.github.com/raphamorim/wat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252902611,"owners_count":21822260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","fsnotify","linux","osx","watch","watches","windows"],"created_at":"2024-10-23T16:08:09.981Z","updated_at":"2025-05-07T15:02:40.624Z","avatar_url":"https://github.com/raphamorim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wat\n\n\u003e Fast File Watcher\n\nRun specific tasks when specific files are added, changed or deleted\n\n## Usage\n\nInstall by doing:\n\n```go\ngo get -u github.com/raphamorim/wat\n```\n\nThen simply run:\n\n```bash\nwat \u003cpath\u003e \u003ccommand\u003e\n```\n\nExample using `date` command:\n\n```bash\nwat src/ date\n```\n\nReturns for every file update inside `src` folder:\n\n```\nWaiting...\nSat Oct 29 15:34:23 BRST 2016\n```\n\n## Comparison\n\nwat vs [grunt-contrib-watch](https://github.com/gruntjs/grunt-contrib-watch)\n\n![wat vs grunt-contrib-watch](./images/example.gif)\n\n## FAQs\n\n#### EMFILE: Too many opened files.?\n\nThis is because of your system's max opened file limit. For OSX the default is very low (256). Temporarily increase your limit with `ulimit -n 10480`, the number being the new max limit.\n\nIn some versions of OSX the above solution doesn't work. In that case try `launchctl limit maxfiles 10480 10480` and restart your terminal. See here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphamorim%2Fwat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphamorim%2Fwat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphamorim%2Fwat/lists"}