diff --git a/app/nodemon.json b/app/nodemon.json index 31edf1f627..f159ce89f7 100644 --- a/app/nodemon.json +++ b/app/nodemon.json @@ -1,5 +1,5 @@ { - "watch": ["./src", "../src/govuk"], + "watch": ["./src", "../src/govuk/**/*.{json,yaml}"], "ignore": ["**/*.test.*"], "ext": "mjs,json,yaml", "quiet": true diff --git a/docs/contributing/tasks.md b/docs/contributing/tasks.md index e73fb25b07..ad491c52ac 100644 --- a/docs/contributing/tasks.md +++ b/docs/contributing/tasks.md @@ -24,7 +24,7 @@ npm scripts are defined in `package.json`. These trigger a number of Gulp tasks. **`npm run serve` will do the following:** -- start up Express, restarting when `.js` files change +- start up Express, restarting when `.mjs`, `.json` or `.yaml` files change **`npm run build:public` will do the following:**