Make WordPress Core

Changeset 47732


Ignore:
Timestamp:
05/01/2020 01:01:47 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.3 branch.

Props desrosj, ianbelanger.
Fixes #50039.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/package.json

    r47684 r47732  
    143143        "env:start": "node ./tools/local-env/scripts/start.js",
    144144        "env:stop": "node ./tools/local-env/scripts/docker.js down",
     145        "env:restart": "npm run env:stop && npm run env:start",
    145146        "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
    146147        "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.