Skip to content

Commit

Permalink
Merge pull request #20989 from ricardoasmarques/wip-npm-start
Browse files Browse the repository at this point in the history
mgr/dashboard: Improve `npm start` script

Reviewed-by: Tiago Melo <tmelo@suse.com>
  • Loading branch information
rjfd committed Mar 22, 2018
2 parents fee6bce + 3625071 commit ebd7879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pybind/mgr/dashboard/HACKING.rst
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion src/pybind/mgr/dashboard/frontend/package.json
Expand Up @@ -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",
Expand Down

0 comments on commit ebd7879

Please sign in to comment.