angular - Can I make webpack-dev-server run at the web root? -


i'm using webpack-dev-server local angular 2 development, of course, marvelous. url looks this:

http://localhost:5000/webpack-dev-server/index.html 

i run @ root, url might this:

http://localhost:5000/index.html 

i'd make development routing code simpler. create custom override, i'd rather not have fiddling overrides rest of project lifespan.

is there configuration switch?

yes, can use inline mode that:

webpack-dev-server --inline 

more info @ webpack dev server/automatic refresh/inline mode.


Comments