Skip to content

Commit

Permalink
chore(test): fix test watching by adding ignore rules
Browse files Browse the repository at this point in the history
Watching and rerunning of tests was stuck in an infinite loop because I did not have ignore rules
set up correctly.

Closes #36
  • Loading branch information
jimthedev committed Oct 22, 2015
1 parent c607ee3 commit 847901c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"start": "npm run test:watch",
"test": "istanbul cover -x ./test _mocha -- -R spec test/tests/index.js --compilers js:babel/register",
"test:watch": "nodemon -q --exec \"$(npm bin)/mocha test/tests/index.js --watch --compilers js:babel/register\" --"
"test:watch": "nodemon -q --ignore test/.tmp/ --ignore test/artifacts/ --ignore coverage/ --exec \"npm run test\" --"
},
"czConfig": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down

0 comments on commit 847901c

Please sign in to comment.