You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pretty complex Gulpfile in a project that has metiuculous culled its globs and whatnot as I'd like them.
Now I'd like to add gulp watch functionality of some sort, but it appears I have to... re-define them all, again, to perform a watch? This is pretty poor devex, violates DRY, and overall is a lot of work and bloat for little gain.
Am I missing something? Why can't I just tell gulp to run the tasks but instead of executing them immediately, listen for .src() calls and use those globs as inputs for watching?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have pretty complex Gulpfile in a project that has metiuculous culled its globs and whatnot as I'd like them.
Now I'd like to add
gulp watch
functionality of some sort, but it appears I have to... re-define them all, again, to perform a watch? This is pretty poor devex, violates DRY, and overall is a lot of work and bloat for little gain.Am I missing something? Why can't I just tell
gulp
to run the tasks but instead of executing them immediately, listen for.src()
calls and use those globs as inputs for watching?Beta Was this translation helpful? Give feedback.
All reactions