Skip to content

Commit 847901c

Browse files
committed
chore(test): fix test watching by adding ignore rules
Watching and rerunning of tests was stuck in an infinite loop because I did not have ignore rules set up correctly. Closes #36
1 parent c607ee3 commit 847901c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
1111
"start": "npm run test:watch",
1212
"test": "istanbul cover -x ./test _mocha -- -R spec test/tests/index.js --compilers js:babel/register",
13-
"test:watch": "nodemon -q --exec \"$(npm bin)/mocha test/tests/index.js --watch --compilers js:babel/register\" --"
13+
"test:watch": "nodemon -q --ignore test/.tmp/ --ignore test/artifacts/ --ignore coverage/ --exec \"npm run test\" --"
1414
},
1515
"czConfig": {
1616
"path": "./node_modules/cz-conventional-changelog"

0 commit comments

Comments
 (0)