diff options
author | cyuamber <xuranyjy@chinamobile.com> | 2020-09-11 15:00:22 +0800 |
---|---|---|
committer | cyuamber <xuranyjy@chinamobile.com> | 2020-09-11 15:00:42 +0800 |
commit | df3accd821932e72011aea9715569991c342f4f4 (patch) | |
tree | bb7975afbf8b9b5deb0b70f46c1cc4b8b55dfbd5 /usecaseui-portal/package.json | |
parent | f2fe1f206e2682d3e6060d0ce2adc2c360df9248 (diff) |
feat: Use nodemon to monitor mock file changes
Change-Id: I7496fe864f2cfba428b58be74f08ebcaeafd0f96
Issue-ID: USECASEUI-444
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/package.json')
-rw-r--r-- | usecaseui-portal/package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usecaseui-portal/package.json b/usecaseui-portal/package.json index 60aeb5ee..34a384c3 100644 --- a/usecaseui-portal/package.json +++ b/usecaseui-portal/package.json @@ -11,7 +11,7 @@ "lint": "ng lint", "e2e": "ng e2e", "mockproxy": "ng serve --proxy-config localproxy.conf.json", - "mockconfig": "node ./src/app/mock/server.js --port 3002", + "mockconfig": "nodemon ./src/app/mock/server.js --port 3002", "mock": "npm run mockconfig | npm run mockproxy", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" }, @@ -58,6 +58,7 @@ "karma-coverage-istanbul-reporter": "^1.2.1", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", + "nodemon": "^2.0.4", "protractor": "~5.1.2", "ts-node": "~4.1.0", "tslint": "~5.9.1", |