Comments (4)
I am not so sure if this is in scope for this project.
It's point is specifically to provide the ability to watch and re-run scripts.
That said, I will leave this open a bit as I think it over, and to see if anyone else has feedback.
from npm-watch.
Hello, on my local develop machine "npm run watch" is great. But on server where I do releases, how can i make an command "npm run watch once" or something so it does not keep running in background ?
from npm-watch.
This hack works for me
"watch": {
"watcher-initialize": {
"patterns": [
"only-run-once.please"
]
}
}
from npm-watch.
Since there is a workaround, and the feature is out of scope for this project, I am closing the issue.
from npm-watch.
Related Issues (20)
- Things to look into
- Unrecognized input: rs HOT 1
- High severity vulnerability of dot-prop package HOT 2
- Annoying "npm update check" message HOT 6
- bad documentation HOT 2
- can we watch the file in the monorepo
- Couldn't find a way to run subset of scripts (but still more than one script) HOT 2
- Is there a limit on the number of watched tasks? HOT 1
- How to ignore conflicting extensions? HOT 1
- npm-watch fails with ENOENT, unhandled error event in a hoisted lerna repository HOT 2
- npm-watch does not stop the last server before running the updated one HOT 5
- How can I run npm-watch in development mode? HOT 1
- npm-watch not detecting changes when run on dev mode HOT 1
- Feature: pass multiple scripts on the command line
- Dynamic script execution command
- globalConfig HOT 1
- global config that apply to every npm-watch scripts HOT 1
- Script not rerunning HOT 5
- Upgrade to nodemon ^3 to avoid vulnerability
- Error: spawn EINVAL on Windows & Node.js v21.7.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-watch.