Added support for npm run watch to automatically reset server during development.

This commit is contained in:
Cassie Esposito 2022-05-19 19:10:51 -07:00
parent 139ee013a7
commit e2d869bb19

View File

@ -3,7 +3,11 @@
"version": "2.0.14",
"description": "Self-hosted audiobook and podcast server",
"main": "index.js",
"watch": {
"dev": "server/{*,*/*}/*.js"
},
"scripts": {
"watch": "npm-watch",
"dev": "node index.js",
"start": "node index.js",
"client": "cd client && npm install && npm run generate",
@ -53,5 +57,7 @@
"watcher": "^1.2.0",
"xml2js": "^0.4.23"
},
"devDependencies": {}
}
"devDependencies": {
"npm-watch": "^0.11.0"
}
}