{"id":20317422,"url":"https://github.com/thimc/watch","last_synced_at":"2025-03-04T09:16:19.863Z","repository":{"id":245725384,"uuid":"818966328","full_name":"thimc/watch","owner":"thimc","description":"watch runs commands whenever files change","archived":false,"fork":false,"pushed_at":"2024-11-03T17:00:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T13:16:46.644Z","etag":null,"topics":["cli","cross-platform","unix","watch-files"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thimc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-23T11:46:30.000Z","updated_at":"2024-11-03T17:00:28.000Z","dependencies_parsed_at":"2024-06-23T18:26:18.875Z","dependency_job_id":"17135ac5-3717-4725-a618-a33571b8121f","html_url":"https://github.com/thimc/watch","commit_stats":null,"previous_names":["thimc/watch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thimc","download_url":"https://codeload.github.com/thimc/watch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818898,"owners_count":20025212,"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":["cli","cross-platform","unix","watch-files"],"created_at":"2024-11-14T18:31:55.043Z","updated_at":"2025-03-04T09:16:19.843Z","avatar_url":"https://github.com/thimc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Watch\n\nWatch runs a command each time a set of files changes. Watch is a\nclone of the [9fans/go Watch\ntool](https://github.com/9fans/go/blob/main/acme/Watch/main.go) but\nis made to work outside of Acme.\n\nThere are some differences between the 9fans/go Watch tool and this\ntool, instead of relying on the current working directory to find\nfiles to monitor, the user needs to specify (with globbing support)\nwhich files to specifically watch. Another difference is the notion\nof an unescaped `%` in the arguments list which is substituted with\nfile path of the file that was changed.\n\nWatch may not be as efficient as it could be (using syscalls) but is\nwritten so that it is as simple and cross-platform as possible.\n\n## Usage\n\n    watch '*.go' go run %\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthimc%2Fwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthimc%2Fwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthimc%2Fwatch/lists"}