Merge pull request #11 from alexsasharegan/master

feat(scripts): add watcher script via nodemon
This commit is contained in:
Kamil Myśliwiec 2017-09-18 08:15:49 +02:00 committed by GitHub
commit 3b56debf75
2 changed files with 8 additions and 0 deletions

6
nodemon.json Normal file
View File

@ -0,0 +1,6 @@
{
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "node ./index"
}

View File

@ -5,6 +5,7 @@
"license": "MIT",
"scripts": {
"start": "node index.js",
"start:watch": "nodemon",
"prestart:prod": "tsc",
"start:prod": "node dist/server.js"
},
@ -21,6 +22,7 @@
},
"devDependencies": {
"@types/node": "^8.0.28",
"nodemon": "^1.12.1",
"ts-node": "^3.3.0"
}
}