Skip to content

Commit adcf936

Browse files
authored
Fix Mocha watch task by delegating to Node (#2573)
1 parent 30ad237 commit adcf936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"license": "BSD-3-Clause",
3333
"scripts": {
3434
"test-node": "mocha --recursive -R dot \"test/**/*-test.js\"",
35-
"test-dev": "npm run test-node -- --watch -R min",
35+
"test-dev": "npm run test-node -- -n watch -n watch-path=test --node-option watch-path=lib -R min",
3636
"test-headless": "mochify --no-detect-globals --recursive -R dot --grep WebWorker --invert \"test/**/*-test.js\"",
3737
"test-coverage": "nyc npm run test-headless -- --transform [ babelify --ignore [ test ] --plugins [ babel-plugin-istanbul ] ]",
3838
"test-cloud": "npm run test-headless -- --wd",

0 commit comments

Comments
 (0)