Make WordPress Core

Changeset 47731


Ignore:
Timestamp:
05/01/2020 12:59:06 PM (4 years ago)
Author:
desrosj
Message:

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.

Merges [47730] to the 5.4 branch.

Props desrosj, ianbelanger.
Fixes #50039.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

  • branches/5.4/package.json

    r47725 r47731  
    150150        "env:start": "node ./tools/local-env/scripts/start.js",
    151151        "env:stop": "node ./tools/local-env/scripts/docker.js down",
     152        "env:restart": "npm run env:stop && npm run env:start",
    152153        "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
    153154        "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
Note: See TracChangeset for help on using the changeset viewer.