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 will preface this with the fact that this is my first time using gulp (and, by extension, gulp-watch), so if I am missing something obvious, my apologies in advance!
Anyways, I am currently working on a project that uses Node v. 0.10.3+ and gulp to serve a simple webapp. My gulpfile is as follows (with impertinent components omitted):
From here, I essentially call the watch task, which I expect to watch for changes in './src/static/**', and (if it finds any changes) copy everything below static over to './dist/public/static'. However, I have noticed that adding a file to './src/static/img/', for example, does not cause anything to happen at all (no console output either). In other tasks, I use specific blobs like './src/js/*.js', and everything works perfectly.
Is this feature of watching all files within a subdirectory available, or am I simple using it incorrectly?
The text was updated successfully, but these errors were encountered:
I will preface this with the fact that this is my first time using gulp (and, by extension, gulp-watch), so if I am missing something obvious, my apologies in advance!
Anyways, I am currently working on a project that uses Node v. 0.10.3+ and gulp to serve a simple webapp. My gulpfile is as follows (with impertinent components omitted):
From here, I essentially call the
watch
task, which I expect to watch for changes in'./src/static/**'
, and (if it finds any changes) copy everything belowstatic
over to'./dist/public/static'
. However, I have noticed that adding a file to'./src/static/img/'
, for example, does not cause anything to happen at all (no console output either). In other tasks, I use specific blobs like'./src/js/*.js'
, and everything works perfectly.Is this feature of watching all files within a subdirectory available, or am I simple using it incorrectly?
The text was updated successfully, but these errors were encountered: