Skip to content

Commit 4c25963

Browse files
authored
Merge pull request #116 from communitiesuk/enable-dev-autoload
Add nodemon config
2 parents 15f37b0 + cc76900 commit 4c25963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scss:build": "node compile-scss.js",
1212
"copy-forms": "node copy-form-json.js",
1313
"clean:build": "rm -rf dist",
14-
"dev": "NODE_ENV=development nodemon dist/digital-form-builder-adapter/runner/index.js",
14+
"dev": "NODE_ENV=development nodemon --watch src --ext js,json,ts,html,scss --exec 'yarn build && node dist/digital-form-builder-adapter/runner/index.js'",
1515
"production": "NODE_ENV=development nodemon dist/digital-form-builder-adapter/runner/index.js",
1616
"test-cov": "yarn run unit-test-cov",
1717
"test:dev": "lab -T test/.transform.js -P (test|src)/**/*.test.* -v test --coverage-exclude",

0 commit comments

Comments
 (0)