parallaxis/node_modules/nodemon/doc/sample-nodemon.md

627 B
Executable File

Sample nodemon.json

Here is an example (of a contrived) nodemon.json file:

{
  "restartable": "rs",
  "ignore": [
    ".git",
    "node_modules/**/node_modules"
  ],
  "verbose": true,
  "execMap": {
    "js": "node --harmony"
  },
  "watch": [
    "test/fixtures/",
    "test/samples/"
  ],
  "env": {
    "NODE_ENV": "development"
  },
  "ext": "js json"
}

Note that the ignore used is nodemon's default ignore rule. The complete defaults can be seen here: defaults.js.