Merge pull request #20989 from ricardoasmarques/wip-npm-start

mgr/dashboard: Improve `npm start` script

Reviewed-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
Ricardo Dias 2018-03-22 11:27:29 +00:00 committed by GitHub
commit ebd78796e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ Setting up a Development Server
Create the ``proxy.conf.json`` file based on ``proxy.conf.json.sample``.
Run ``npm start -- --proxy-config proxy.conf.json`` for a dev server.
Run ``npm start`` for a dev server.
Navigate to ``http://localhost:4200/``. The app will automatically
reload if you change any of the source files.

View File

@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"start": "ng serve --delete-output-path false --proxy-config proxy.conf.json",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",