From 41ed85ff3f35c856b415832ce667d6e13a87e584 Mon Sep 17 00:00:00 2001 From: Vladimir Polyakov Date: Sat, 30 Jan 2016 16:57:08 +0300 Subject: [PATCH] ignore via nodemon.json --- nodemon.json | 10 ++++++++-- package.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nodemon.json b/nodemon.json index 86dc69d..9388926 100644 --- a/nodemon.json +++ b/nodemon.json @@ -1,3 +1,9 @@ { - "ignoreRoot": [".git"] -} \ No newline at end of file + "ignoreRoot": [".git"], + "ignore": [ + "data ", + "node_modules/nci-classic-ui/node_modules/", + "node_modules/nci-projects-reloader/node_modules/" + ], + "watch": "./" +} diff --git a/package.json b/package.json index f526b62..e5743ef 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 -w ./ -i data -i node_modules/nci-classic-ui/node_modules/ -i node_modules/nci-projects-reloader/node_modules/ app.js", + "dev": "nodemon 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",