cr0ybot / gulp-wp

A reusable, extendable, updatable Gulp workflow for WordPress themes & plugins
MIT License
26 stars 3 forks source link

Running `npm start` with a theme using a custom gulpfile does not use the gulpfile #15

Closed cr0ybot closed 2 years ago

cr0ybot commented 2 years ago

For automated build/deploy especially, we need npm start/build to run the custom gulpfile instead of the default if it is present.

Only running gulp works correctly.

cr0ybot commented 2 years ago

Upon further examination, if a theme is using a custom gulpfile, then the npm start/build commands should use gulp directly, not gulp-wp.