sdc-build-wp
v5.5.3
Published
Custom WordPress build process.
Readme
Install
npm install sdc-build-wp
sdc-build-wp # build
sdc-build-wp --watch # build and watch
sdc-build-wp --watch --builds=style,scripts # comma-seperated list of components to include
sdc-build-wp --helpCaching
Caching speeds up subsequent builds by only rebuilding files that have changed or whose dependencies have changed.
sdc-build-wp --no-cache # Disable caching for this build
sdc-build-wp --clear-cache # Clear all cached dataWatch
While watch is enabled, use the following keyboard commands to control the build process:
[r] Restart build process
[c] Clear cache
[p] Pause/Resume watching
[n] New component
[q] QuitDevelop
Develop locally with the following command from within the test project directory:
node ~/sites/sdc/sdc-build-wp/index.js --watch