{"id":17717712,"url":"https://github.com/mununki/gw","last_synced_at":"2025-03-14T02:31:14.873Z","repository":{"id":45413599,"uuid":"185762570","full_name":"mununki/gw","owner":"mununki","description":"A Wrapper of a command to watch any changes in filesystem","archived":false,"fork":false,"pushed_at":"2021-12-14T06:53:56.000Z","size":3050,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T14:22:07.292Z","etag":null,"topics":["command","filesystem","go","golang","nodemon","wrapper"],"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/mununki.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}},"created_at":"2019-05-09T08:52:48.000Z","updated_at":"2024-06-20T14:22:07.293Z","dependencies_parsed_at":"2022-08-31T11:02:03.561Z","dependency_job_id":null,"html_url":"https://github.com/mununki/gw","commit_stats":null,"previous_names":["mattdamon108/gw"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mununki%2Fgw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mununki%2Fgw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mununki%2Fgw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mununki%2Fgw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mununki","download_url":"https://codeload.github.com/mununki/gw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511656,"owners_count":20302593,"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":["command","filesystem","go","golang","nodemon","wrapper"],"created_at":"2024-10-25T14:29:41.368Z","updated_at":"2025-03-14T02:31:14.488Z","avatar_url":"https://github.com/mununki.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GW (Go Watcher)\n\n## Stacks\n\n- Built in Go\n\n## Features\n\nA Wrapper of a command to watch any changes in filesystem, then re-run the command again. Especially, when you are developing a backend API, you need to run again your API very often, every time you edit a code. `GW` will automatically run your API again for you.\n\n## Demo\n\n![demo](/demo/gw_demo.gif)\n\n## How to use\n\n```shell\n$ gw [COMMAND arg1, arg2, ...]\n```\n\ne.g.\n\n```shell\n$ gw go run server.go\n** Ctrl-C to exit **\n2019/05/12 00:01:00 Listening to the port 8080...\n\n# any changes in filesystem\nTyring to run the command...\n2019/05/12 00:01:10 Listening to the port 8080...\n```\n\n- for Node.js\n\n**You can use gw instead of `nodemon`.**\n\n```shell\n$ gw node server.js\n** Ctrl-C to exit **\nListening to port 4000\n\n# any changes in filesystem\nTyring to run the command...\nListening to port 4000\n```\n\n\u003e gw excludes to watch the `node_modules` directory.\n\n## How to install\n\n### Homebrew\n\n```shell\n$ brew install mattdamon108/tools/gw\n```\n\n### Using `go get`\n\n```shell\n$ go get -u github.com/mattdamon108/gw\n```\n\n### Build with the source code\n\n1. Git clone\n\n```shell\n$ git clone https://github.com/mattdamon108/gw.git\n```\n\n2. Build \u0026 Install\n\n```shell\n$ go install\n```\n\n## Next to do\n\n- [ ] error handling\n- [ ] reduce unnecessary re-runs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmununki%2Fgw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmununki%2Fgw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmununki%2Fgw/lists"}