Skip to content

Instantly share code, notes, and snippets.

@zGrav
Created March 11, 2018 14:33
Show Gist options
  • Save zGrav/6ad94f9ffe71ae70728336320d2ae347 to your computer and use it in GitHub Desktop.
Save zGrav/6ad94f9ffe71ae70728336320d2ae347 to your computer and use it in GitHub Desktop.
webpack-dashboard
"scripts": {
"dev-server": "cross-env NODE_ENV=development WEBPACK_HOT=true API_ENDPOINT=//$npm_package_config_hostname:$npm_package_config_port DEBUG=server:* node --max_old_space_size=4096 server/index.js",
"prestart": "yarn install && yarn run test",
"start": "yarn run nodemon",
"nodemon": "webpack-dashboard -- nodemon --config nodemon.json --exec yarn run dev-server",
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment