From fca7c7b4bc683206c058c1ff704110d9d9d6e2af Mon Sep 17 00:00:00 2001 From: oleg Date: Tue, 26 Jan 2016 23:43:38 +0300 Subject: [PATCH] run dev with supervisor - listen for change of linked plugins --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index bb4b0ae..87426b7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "makeTestRepos": "rm -rf test/repos/{mercurial,git}; cd test/repos/ && tar -xf mercurial.tar.gz && tar -xf git.tar.gz", "test": "npm run makeTestRepos && mocha --bail --reporter=spec --timeout 10000", - "dev": "nodemon -i node_modules -i data app.js", + "dev": "supervisor -w ./ -i node_modules/nci-classic-ui/node_modules,node_modules/nci-projects-reloader/node_modules app.js", "sync": "npm install && npm prune", "docProjectsCollection": "dox --api --skipSingleStar < lib/project.js | sed '/^ - \\[ProjectsCollection/ d' > docs/developing-plugins/projects-collection.md", "docBuildsCollection": "dox --api --skipSingleStar < lib/build.js | sed '/^ - \\[BuildsCollection/ d' > docs/developing-plugins/builds-collection.md", @@ -57,8 +57,8 @@ "nci-rest-api-server": "0.5.0", "nci-static-server": "1.0.0", "nci-yaml-reader": "1.1.0", - "nodemon": "1.3.7", "nrun": "0.1.4", - "sinon": "1.14.1" + "sinon": "1.14.1", + "supervisor": "0.9.1" } }