Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: pass multiple scripts on the command line #88

Open
dobesv opened this issue Dec 29, 2021 · 0 comments
Open

Feature: pass multiple scripts on the command line #88

dobesv opened this issue Dec 29, 2021 · 0 comments

Comments

@dobesv
Copy link

dobesv commented Dec 29, 2021

You can watch everything by passing no arguments to npm-watch, or watch just one script by giving it as a command line argument.

npm-watch has a certain amount of fixed overhead to run (~100MB of RAM).

In our project we watch a subset of things that can be watch, by running npm-watch once per script. If npm-watch allowed multiple scripts to be specified as arguments, we could avoid the overhead of multiple npm-watch processes because the core watching code and dependencies would only be loaded into memory once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant