{"id":13580460,"url":"https://github.com/nilsmartel/awaitchange","last_synced_at":"2026-01-25T10:30:40.177Z","repository":{"id":118639208,"uuid":"227815101","full_name":"nilsmartel/awaitchange","owner":"nilsmartel","description":"Useful when one only wants to perform commands on filechanges","archived":false,"fork":false,"pushed_at":"2023-02-23T17:17:51.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-05T19:43:24.311Z","etag":null,"topics":["cli","file","rust","system"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/nilsmartel.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}},"created_at":"2019-12-13T10:31:25.000Z","updated_at":"2022-10-21T10:47:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"df70bbca-feed-497d-bb8a-25c40e2ddcbe","html_url":"https://github.com/nilsmartel/awaitchange","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/nilsmartel%2Fawaitchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsmartel%2Fawaitchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsmartel%2Fawaitchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nilsmartel%2Fawaitchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nilsmartel","download_url":"https://codeload.github.com/nilsmartel/awaitchange/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426004,"owners_count":20937051,"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","file","rust","system"],"created_at":"2024-08-01T15:01:51.756Z","updated_at":"2026-01-25T10:30:40.173Z","avatar_url":"https://github.com/nilsmartel.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# awaitchange\n\nCommand line tool that does little, is easy to use and helps a lot!\n\n## Usage\n\n```\nawaitchange 0.4.0\n\nUSAGE:\n    awaitchange [OPTIONS] [watch]...\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -r \u003ccheckrate\u003e        How many times per second files should get checked for updates [default: 2]\n        --do \u003ccommand\u003e    Command to be executed on filechange. If unset, awaitchange simply exits on filechange and\n                          yields controll to the programm next in line\n\nARGS:\n    \u003cwatch\u003e...    Files to be watched\n\n```\n\n## Example\n\nlets say you want to update your kubernetes objects, every time you changed your deployment or service config,\nyou'd use awaitchange like this:\n```sh\n    while [ true ]\n    do\n        clear       # Clear terminal window\n        kubectl apply -f deployment.yaml\n        kubectl apply -f service.yaml\n\n        awaitchange deployment.yaml service.yaml\n    done\n```\n\nThere is a shorthand for this, just use the `--do` flag an pass a script, that should be executed (in `sh`)\n\n```sh\nawaitchange deployment.yaml --do \"kubectl apply -f deployment.yaml\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilsmartel%2Fawaitchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnilsmartel%2Fawaitchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnilsmartel%2Fawaitchange/lists"}