Skip to content
This repository was archived by the owner on Jan 20, 2020. It is now read-only.

Commit 7263464

Browse files
author
Luciano Nooijen
committed
Added Nodemon config for Typescript
1 parent e6f7fb2 commit 7263464

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

nodemon.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"watch": ["src", "controllers", "database", "helpers", "server", "index.js"],
3+
"ext": "ts,js",
4+
"ignore": ["tests"],
5+
"exec": "ts-node server/server.ts"
6+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"node": ">=8.0.0"
2626
},
2727
"scripts": {
28-
"dev": "ts-node server/server.ts",
28+
"dev": "nodemon",
2929
"start": "ts-node server/server.ts",
3030
"build": "tsc",
3131
"lint": "yarn run lint:js && yarn run lint:ts",

0 commit comments

Comments
 (0)