Type object
File match nodemon.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/nodemon-json/latest.json
Source https://www.schemastore.org/nodemon.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

colours boolean

set to false to disable color output

Default: true
cwd string

change into

before running the script

delay number

debounce restart for a number of milliseconds

Default: 0
dump boolean

print full debug configuration

Default: false
exec string

execute script with "app", ie. -x "python -v". May use variables.

Examples: "{{pwd}}/index.js --some-arg", "{{filename}}"
format=<app> <your args>
execMap object

The global config file is useful for setting up default executables

exitcrash boolean

Exit nodemon after crash

ext string

extensions to look for, ie. "js,jade,hbs"

Default: "*"
ignore pathPattern[]

Ignore directory or file. One entry per ignored value. Wildcards are allowed.

ignoreRoot string[]

root paths to ignore

legacyWatch boolean

use polling to watch for changes (typically needed when watching over a network/Docker)

Default: false
noUpdateNotifier boolean

opt-out of update version check

Default: false
nodeArgs array

arguments to pass to node if exec is "node"

pollingInterval number

combined with legacyWatch, milliseconds to poll for (default 100)

Default: 100
quiet boolean

minimise nodemon messages to start/stop only

Default: false
runOnChangeOnly boolean

execute script on change only, not startup

Default: false
signal const: "SIGTERM" | const: "SIGINT" | const: "SIGQUIT" | const: "SIGKILL" | const: "SIGHUP"
spawn boolean

force nodemon to use spawn (over fork) [node only]

Default: false
stdin boolean

set to false to have nodemon pass stdin directly to child process

Default: true
verbose boolean

show detail on what is causing restarts

Default: false

Watch directory or file. One entry per watched value. Wildcards are allowed.

Definitions

pathPattern string | object
terminationSignals const: "SIGTERM" | const: "SIGINT" | const: "SIGQUIT" | const: "SIGKILL" | const: "SIGHUP"
variables const: "{{pwd}}" | const: "{{filename}}"