[discussion] add —watch to the wireit command as an option
Open
- Dominant language
- TypeScript
- Stars
- 6.4k
- Forks
- 128
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 4
Description
was curious about the reason behind the —watch flag not being able to be added to the wireit command directly?
imo, it would be super useful to be able to do
```
“scripts”: {
“dev”: “wireit —watch” //always watch mode
}
```
imo it’s a bit clunky to have to send the “--watch” flag with the runner command , ie npm/yarn/pnpm run rather than being able to bake it into the command by default.
i have a command similar to the above and i always forget that i need to call it with the —watch flag manually.
Contributor guide
Assessment
This issue has not been assessed yet.