You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a use case which I'll bet is quite common:
a build process that outputs files, in my case style-dictionary
a dev server with it's own file watcher, watching the files output in the previous step, in my case @web/dev-server
It wouldn't make sense to restart the dev server on changes, so using it's built-in filewatcher is smart.
We'd also like to be able to watch the build's input files for changes and restart the build whenever sources change
I want npm run build to run the build once, and I want npm run start to run the build command, then the dev server, then watch changes to the build command's inputs and rerun the build command when they change. I tried a few combinations of options but was unable to achieve that workflow with wireit.
I'd like to be able to define commands which are just combinations other commands, and I'd like to specify watchers in the config file, i.e. not with the watch command argument, but with some "watch": ["build"] in package.json
The text was updated successfully, but these errors were encountered:
I've got a use case which I'll bet is quite common:
style-dictionary
@web/dev-server
It wouldn't make sense to restart the dev server on changes, so using it's built-in filewatcher is smart.
We'd also like to be able to watch the build's input files for changes and restart the build whenever sources change
I want
npm run build
to run the build once, and I wantnpm run start
to run the build command, then the dev server, then watch changes to the build command's inputs and rerun the build command when they change. I tried a few combinations of options but was unable to achieve that workflow withwireit
.I'd like to be able to define commands which are just combinations other commands, and I'd like to specify watchers in the config file, i.e. not with the
watch
command argument, but with some"watch": ["build"]
in package.jsonThe text was updated successfully, but these errors were encountered: