Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd --watch option. #828
Comments
This comment has been minimized.
This comment has been minimized.
|
Without additional information, it's unclear what this is even asking for. |
feross
closed this
Mar 23, 2017
This comment has been minimized.
This comment has been minimized.
|
It would be useful if we had a --watch option that prevents process from quitting and in case of change relinting changed files only. |
This comment has been minimized.
This comment has been minimized.
enjoylife
commented
Mar 24, 2017
|
Anyone come across plugins or forks which have a watch or continuous mode? |
This comment has been minimized.
This comment has been minimized.
yuvilio
commented
Mar 25, 2017
•
|
I've gotten it to work by having separate watch tools. In my case it was for my npm scripts setup with the nodemon powered npm-watch . "watch": {
"standardlint": "assets/js"
},
"scripts": {
"watch": "npm-watch",
"standardlint" : "standard assets/js/main.js",
}Then just run the watch task and to carry out the monitoring and running of the `standard`` lnter $ npm run watchFor more direct command line usage, you can probably use nodemon directly with something like I agree that a |
This comment has been minimized.
This comment has been minimized.
|
Will it lint only changed files or all? |
This comment has been minimized.
This comment has been minimized.
axelpale
commented
Dec 13, 2017
|
+1 |
This comment has been minimized.
This comment has been minimized.
mxdi9i7
commented
Mar 26, 2018
|
the no-unused-vars rule in standard js is going to be annoying during development when u have watch on, i think it makes more sense to run linting during pre-commit instead of during active development |
ravshansbox commentedMar 23, 2017
No description provided.