Open webapck dev server when we start

This commit is contained in:
Jordan Eldredge 2018-11-19 19:50:33 -08:00
parent 629b63b40c
commit 1192bb41ea
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ See the [usage documentation](./docs/usage.md) for more information.
# Or: npm install
npm start
Open `http://localhost:8080/webpack-dev-server/` in your browser.
`http://localhost:8080/` should automatically open in your browser.
# Run tests and lint checks
npm test

View File

@ -17,7 +17,7 @@
"analyze": "webpack --config=config/webpack.bundle-analyzer.js",
"prepublishOnly": "npm run build-library",
"serve": "http-server ./built",
"start": "webpack-dev-server --config=config/webpack.dev.js",
"start": "webpack-dev-server --open --config=config/webpack.dev.js",
"stats": "webpack --config=config/webpack.prod.js --json > stats.json",
"stats-library": "webpack --config=config/webpack.library.js --json > stats.json",
"weight": "npm run build-library > /dev/null && gzip-size built/webamp.bundle.min.js",