add v:serve shortcut for vagrant

automatically install nodejs and yarn
add some info on change detection in vagrant to BUILDING.md
This commit is contained in:
Jakob Schrettenbrunner 2018-06-11 00:32:54 +02:00
parent 5e3f705a4c
commit f971cdf9ca
3 changed files with 16 additions and 1 deletions

View file

@ -57,6 +57,7 @@
"watch": "NODE_ENV=development ./node_modules/.bin/webpack --watch --progress",
"build": "NODE_ENV=development ./node_modules/.bin/webpack --progress",
"build:production": "NODE_ENV=production ./node_modules/.bin/webpack",
"serve": "NODE_ENV=development webpack-serve --hot --config ./webpack.config.js"
"serve": "webpack-serve --hot --config ./webpack.config.js",
"v:serve": "PUBLIC_PATH=http://192.168.50.2:8080 NODE_ENV=development webpack-serve --hot --config ./webpack.config.js --host 192.168.50.2 --no-clipboard"
}
}