digisavvy / some-like-it-neat

A WordPress Theme Using _s, Bourbon + Neat and Theme Hook Alliance
GNU General Public License v2.0
276 stars 61 forks source link

Gulp file watcher only watches existing files #85

Closed mroesele closed 8 years ago

mroesele commented 9 years ago

I have noticed that newly created assets like sass files do not trigger concatenation and browser reload while running gulp. After adding a new file you have to stop and restart the gulp task. Can this be fixed somehow? Can someone help?

By the way, I am working with some like it neat for a few days and it really changed my workflow to the better. Thanks for the great work!

digisavvy commented 8 years ago

That's great. So far, this is an issue I cannot address. If you add a new file in sass, you have to stop and restart gulp for now anyway.

hasnatbabur commented 8 years ago

hi, just add an space or tab in your main or old scss file, then save, everything will work fine ...

digisavvy commented 8 years ago

@mroesele, @hasnat-babur's suggestion works, too. Hope that helps.

hasnatbabur commented 8 years ago

when you add a file ... pls do not use ./ before root folder, i.e. './assets/css/*/.css' format, just use 'assets/css/*/.css' as folder path and gulp will work for new files. It worked for me .. thanks