fix docker-watch with graceful run and exit capability (#304)
This commit is contained in:
parent
4f78bdd111
commit
fb3d05d452
|
@ -9,7 +9,7 @@
|
||||||
"dev": "NODE_ENV=development node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"dev": "NODE_ENV=development node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"watch": "NODE_ENV=development node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"watch": "NODE_ENV=development node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"docker-watch": "docker-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"docker-watch": "concurrently --names 'DOCKER,WEBPACK' --prefix-colors 'yellow,magenta' --kill-others 'docker-compose up' 'npm run watch'",
|
||||||
"podman-watch": "podman-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"podman-watch": "podman-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"deploy": "npm run production && node deploy/index.js",
|
"deploy": "npm run production && node deploy/index.js",
|
||||||
"production": "npm run build && npm run zip",
|
"production": "npm run build && npm run zip",
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
"@tryghost/admin-api": "^1.0.1",
|
"@tryghost/admin-api": "^1.0.1",
|
||||||
"browser-sync": "^2.26.7",
|
"browser-sync": "^2.26.7",
|
||||||
"browser-sync-webpack-plugin": "^2.0.1",
|
"browser-sync-webpack-plugin": "^2.0.1",
|
||||||
|
"concurrently": "^5.3.0",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"fs": "0.0.1-security",
|
"fs": "0.0.1-security",
|
||||||
"ghost-cli": "^1.12.0",
|
"ghost-cli": "^1.12.0",
|
||||||
|
|
Loading…
Reference in a new issue