diff --git a/src/schemas/json/nodemon.json b/src/schemas/json/nodemon.json index ceb31986e68..9e880d1e4a6 100644 --- a/src/schemas/json/nodemon.json +++ b/src/schemas/json/nodemon.json @@ -57,7 +57,7 @@ "required": ["legacyWatch"] }, "nodeArgs": { - "exec": { + "x-exec": { "const": "node" }, "required": ["exec"] @@ -105,15 +105,7 @@ "ignore": { "description": "Ignore directory or file. One entry per ignored value. Wildcards are allowed.", "items": { - "$ref": "#/definitions/pathPattern", - "description": "Path or pattern of file or directory to ignore. Can also use regular expressions wrapped in an object with a single property named \"re\".", - "examples": [ - ".gitignore", - ".vscode", - "__tests__/*", - "__*__/*.js", - "*.test.js" - ] + "$ref": "#/definitions/pathPattern" }, "type": "array" }, @@ -154,9 +146,7 @@ "type": "boolean" }, "signal": { - "$ref": "#/definitions/terminationSignals", - "description": "use specified kill signal instead of default (ex. SIGTERM)", - "type": "string" + "$ref": "#/definitions/terminationSignals" }, "spawn": { "default": false, @@ -176,9 +166,7 @@ "watch": { "description": "Watch directory or file. One entry per watched value. Wildcards are allowed.", "items": { - "$ref": "#/definitions/pathPattern", - "description": "Path or pattern of file or directory to watch. Can also use regular expressions wrapped in an object with a single property named \"re\".", - "examples": ["src/index.js", "src", "src/*.js", "*.js"] + "$ref": "#/definitions/pathPattern" }, "type": "array" }