{"id":15890616,"url":"https://github.com/dimfeld/rush-dev-watcher","last_synced_at":"2025-03-20T11:36:45.173Z","repository":{"id":50935174,"uuid":"326840905","full_name":"dimfeld/rush-dev-watcher","owner":"dimfeld","description":"Run development build commands across a project and its dependencies","archived":false,"fork":false,"pushed_at":"2021-05-27T11:22:03.000Z","size":9,"stargazers_count":11,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-07T07:06:58.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dimfeld.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}},"created_at":"2021-01-05T00:20:59.000Z","updated_at":"2024-10-04T16:48:48.000Z","dependencies_parsed_at":"2022-08-25T11:51:37.823Z","dependency_job_id":null,"html_url":"https://github.com/dimfeld/rush-dev-watcher","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/dimfeld%2Frush-dev-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Frush-dev-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Frush-dev-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Frush-dev-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimfeld","download_url":"https://codeload.github.com/dimfeld/rush-dev-watcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221756906,"owners_count":16875864,"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-10-06T07:07:05.845Z","updated_at":"2024-10-28T01:02:11.311Z","avatar_url":"https://github.com/dimfeld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rush-dev-watcher\nRun development build commands across a project and its dependencies. This is designed to run inside a [Rush monorepo](https://rushjs.io/). \n\nThis tool builds a DAG from the dependencies and attempts to schedule the `dev` commands so that a package doesn't start building until after all its dependencies listed in the command have built once. After that, all the dev watchers started by the command remain active.\n\n## Usage:\n\n```shell\n# Run dev commands for multiple packages at once.\n\u003e dev package1 package2\n\n# Run dev commands for a package and its dependencies\n\u003e dev --and-deps api\n\n# Run dev commands for a package's dependencies, but not the package itself.\n\u003e dev --just-deps website\n```\n\n## Caveats\n\n1. It's hardcoded to run the `dev` script in the package.json of each package.\n2. Although the script detects when watcher commands have finished their first build, it just looks for specific strings. You may need to customize this for your  toolchain.\n3. I've only tested this on my monorepo at work. It works great there but may not work elsewhere.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Frush-dev-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimfeld%2Frush-dev-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Frush-dev-watcher/lists"}