{"id":15035276,"url":"https://github.com/teamwork/watcher","last_synced_at":"2026-01-02T01:17:54.668Z","repository":{"id":57573249,"uuid":"197921824","full_name":"Teamwork/watcher","owner":"Teamwork","description":"Watcher for restarting your project when any changes are made.","archived":false,"fork":false,"pushed_at":"2021-03-18T15:30:10.000Z","size":34,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-01-20T12:05:10.538Z","etag":null,"topics":["go","golang","tooling","watcher"],"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/Teamwork.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-07-20T11:34:32.000Z","updated_at":"2021-06-23T14:57:25.000Z","dependencies_parsed_at":"2022-09-26T19:01:09.029Z","dependency_job_id":null,"html_url":"https://github.com/Teamwork/watcher","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fwatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fwatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fwatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teamwork%2Fwatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teamwork","download_url":"https://codeload.github.com/Teamwork/watcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243440664,"owners_count":20291328,"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":["go","golang","tooling","watcher"],"created_at":"2024-09-24T20:28:02.860Z","updated_at":"2026-01-02T01:17:54.642Z","avatar_url":"https://github.com/Teamwork.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# watcher\n\nA watcher that doesn't care about GOPATH, or anything really, just watches\nsome paths and run\n\n## Installation\n\n```\ngo get github.com/teamwork/watcher/cmd/watcher\n```\n\n## Usage\n\n```bash\nwatcher go run ./cmd/someservice\n```\n\nThe example above will watch any file changes with the default matcher on\ncurrent working dir\n\n## Defaults\n\n**Match**: `(?:go\\.mod|\\.(?:go|tmpl))$`  \n**Exclude**: `^vendor/`  \n**Paths**: _current working dir_\n\n## New\n\nSupport for setting ENV vars from .env files\n\n```\n$ echo \"HELLO=world\" \u003e .env\n$ watcher sh -c 'echo $HELLO'\n\n(watcher) run triggered...\nworld\n(watcher) process interrupted: \u003cnil\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwork%2Fwatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamwork%2Fwatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwork%2Fwatcher/lists"}