Commit c0e6e635 authored by Jonathan Cunanan's avatar Jonathan Cunanan

Add nodemon config and watch command

parent d7b0f78c
{
"exec": "npm run dev",
"watch": ["src/*", "public/*"],
"ext": "js, html, css, json"
}
This diff is collapsed.
......@@ -9,7 +9,8 @@
"dev": "NODE_ENV=development npm-run-all server",
"clean": "rimraf dist",
"build": "babel ./src --out-dir dist",
"prod": "NODE_ENV=production npm-run-all clean build server:prod"
"prod": "NODE_ENV=production npm-run-all clean build server:prod",
"watch": "nodemon"
},
"dependencies": {
"cookie-parser": "~1.4.3",
......@@ -23,6 +24,7 @@
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.3.1"
"@babel/preset-env": "^7.3.1",
"nodemon": "^1.18.9"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment