diff --git a/package.json b/package.json index acc1532a..c1ddcffc 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,11 @@ "version": "2.0.15", "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": {} -} \ No newline at end of file + "devDependencies": { + "npm-watch": "^0.11.0" + } +}