Skip to content

Commit

Permalink
Fix a bug that infinite loop when run the app using nodemon
Browse files Browse the repository at this point in the history
  • Loading branch information
kentaro-m committed Nov 3, 2019
1 parent d5a6b20 commit e9399ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions nodemon.json
@@ -0,0 +1,6 @@
{
"verbose": true,
"watch": ["src"],
"ext": "ts",
"exec": "npm start"
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
],
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "nodemon --exec \"npm start\"",
"dev": "nodemon",
"start": "npm run build && probot run ./lib/index.js",
"lint": "eslint src/**/*.ts",
"test": "jest",
Expand Down

0 comments on commit e9399ee

Please sign in to comment.