Skip to content

Commit a6cb558

Browse files
committed
Use nodemon as a test watcher
1 parent 367614b commit a6cb558

File tree

2 files changed

+151
-2
lines changed

2 files changed

+151
-2
lines changed

package-lock.json

Lines changed: 148 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"hookup": "husky install",
1212
"tape": "tape \"src/**/*.spec.js\" \"src/e2e-tests/**/*.test.js\" | tap-spec",
1313
"test": "nyc --reporter=text-summary npm run tape",
14-
"test:ci": "nyc --reporter=lcov npm run tape"
14+
"test:ci": "nyc --reporter=lcov npm run tape",
15+
"test:watch": "nodemon --watch src --ext js --exec npm run tape"
1516
},
1617
"nyc": {
1718
"all": true,
@@ -50,4 +51,4 @@
5051
"tap-spec": "^5.0.0",
5152
"tape": "^5.7.2"
5253
}
53-
}
54+
}

0 commit comments

Comments
 (0)