ignore via nodemon.json

This commit is contained in:
Vladimir Polyakov 2016-01-30 16:57:08 +03:00
parent 687ca7ed61
commit 41ed85ff3f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
{
"ignoreRoot": [".git"]
}
"ignoreRoot": [".git"],
"ignore": [
"data ",
"node_modules/nci-classic-ui/node_modules/",
"node_modules/nci-projects-reloader/node_modules/"
],
"watch": "./"
}

View File

@ -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",