Skip to content

Commit

Permalink
only restart node process when a js file changes (#28)
Browse files Browse the repository at this point in the history
this way the bot won't restart when a .json file is written to
  • Loading branch information
adamsullovey authored and teesloane committed Jul 26, 2017
1 parent 1c4be46 commit 410c60e
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 @@ -4,7 +4,7 @@
"description": "Slackbot to encourage drawing.",
"main": "src/index.js",
"scripts": {
"start": "nodemon src/index.js",
"start": "nodemon -e js src/index.js",
"precommit": "lint-staged",
"add-contributor": "all-contributors add",
"generate": "all-contributors generate"
Expand Down

0 comments on commit 410c60e

Please sign in to comment.