{"id":18394425,"url":"https://github.com/romac/cargo-watch","last_synced_at":"2025-04-12T13:19:08.051Z","repository":{"id":22843450,"uuid":"26190714","full_name":"romac/cargo-watch","owner":"romac","description":"Run a Cargo command everytime a source file changes (DEPRECATED)","archived":false,"fork":false,"pushed_at":"2015-08-10T17:02:03.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T13:19:05.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/passcod/cargo-watch","language":"Shell","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/romac.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":"2014-11-04T22:00:55.000Z","updated_at":"2016-11-02T15:27:07.000Z","dependencies_parsed_at":"2022-08-05T20:00:18.381Z","dependency_job_id":null,"html_url":"https://github.com/romac/cargo-watch","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/romac%2Fcargo-watch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romac%2Fcargo-watch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romac%2Fcargo-watch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romac%2Fcargo-watch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romac","download_url":"https://codeload.github.com/romac/cargo-watch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571839,"owners_count":21126522,"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":[],"created_at":"2024-11-06T02:05:43.198Z","updated_at":"2025-04-12T13:19:08.024Z","avatar_url":"https://github.com/romac.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# cargo-watch\n\n\u003e Run a Cargo command (defaults to `run`) everytime a source file changes.\n\nThis should work on any POSIX environment where [`fswatch`](https://github.com/emcrisostomo/fswatch) is available.\n\nI quickly threw this together because [passcod/cargo-watch](https://github.com/passcod/cargo-watch) doesn't support Mac OS X, and I was tired of running `cargo build` by hand everytime I updated a source file.\n\n**Update: @passcod's [cargo-watch](https://github.com/passcod/cargo-watch) now supports Mac OS X thanks to his [notify](https://github.com/passcod/rsnotify) library. This project is now considered deprecated.**\n\n## Usage\n\n```\nUsage:\n    cargo watch [options] [\u003ccommand\u003e]\n\nOptions:\n    -h        Display this message.\n    -d DIR    Watch files in the given directory [default: src/].\n\nRequirements:\n    This command requires fswatch to be present on your system.\n    Use your favorite package manager to install it (MacPorts, Homebrew, apt, etc).\n```\n\n## Installation\n\n1. Install `fswatch` using your favorite package manager (MacPorts, Homebrew, apt, etc).\n\n2. Copy `cargo-watch` somewhere in your `$PATH`. Eg. `$ cp cargo-watch ~/.bin/cargo-watch`\n\n3. Make it executable. Eg. `$ chmod +x ~/.bin/cargo-watch`\n\n4. Then call the `watch` command as a normal `cargo` command. Eg. `$ cargo watch test`\n\n## License\n\ncargo-watch is released under the [MIT license](http://romac.mit-license.org).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromac%2Fcargo-watch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromac%2Fcargo-watch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromac%2Fcargo-watch/lists"}