From aef50f979d440e443d4caa67583f8cc631953001 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 30 Apr 2020 20:20:18 +0000 Subject: [PATCH] Build/Test Tools: Introduce a command for restarting the local Docker environment. This change introduces the `env:restart` command for easier restarting of the local Docker environment. Props desrosj, ianbelanger. Fixes #50039. git-svn-id: https://develop.svn.wordpress.org/trunk@47730 602fd350-edb4-49c9-b593-d223f7449a82 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7ab3deded3..1c22e1146e 100644 --- a/package.json +++ b/package.json @@ -153,6 +153,7 @@ "grunt": "grunt", "env:start": "node ./tools/local-env/scripts/start.js", "env:stop": "node ./tools/local-env/scripts/docker.js down", + "env:restart": "npm run env:stop && npm run env:start", "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans", "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans", "env:install": "node ./tools/local-env/scripts/install.js",