Skip to content

Sample nodemon.json

Remy Sharp edited this page May 28, 2014 · 1 revision

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.

Clone this wiki locally