JeffreyWay / laravel-elixir-vueify

This is a very thin wrapper for Laravel Elixir and the Browserify Vueify plugin.
156 stars 30 forks source link

Vue files not watched #5

Closed skyronic closed 8 years ago

skyronic commented 8 years ago

This isn't watching *.vue files and updating the build when I run gulp watch. Can you add support for this as well? Thanks!

stevenobird commented 8 years ago

I noticed that sometimes they are watched, sometimes not.

skyronic commented 8 years ago

I noticed this recently too. But the point to note is that vueify works well with watchify, so it's probably not an issue with laravel-elixir-vueify itself.

@twaileit if you can reliably reproduce a case where updates aren't getting triggered, I'll be happy to isolate the cause and file an issue with the right project - whether it's with elixir, browserify or vueify.

stevenobird commented 8 years ago

I just can say that small changes are not watched (e.g. some new-lines or spaces), but changes that go beyond that are noticed.

jonagoldman commented 8 years ago

I have this problem on Linux. In my case it can be fixed adding elixir.config.js.browserify.watchify.options.poll = true; to gulpfile.js.

skyronic commented 8 years ago

@jonagoldman: Thanks a ton! This works like a charm on my Linux system!! Looks like this isn't an issue with laravel-elixir-vueify but rather the underlying filesystem watching library, so am closing this issue.

hedii commented 8 years ago

@jonagoldman thank you! save my day (osx)

alshuwaikhat commented 8 years ago

@jonagoldman Worked like a charm (osx); Thank you!

ikristher commented 8 years ago

Thank you very much. It fixed the problem