hiddentao / gulp-server-livereload

Gulp plugin to run a local webserver with livereload enabled via socket.io. Also comes with standalone command-line interface.
MIT License
93 stars 28 forks source link

Filter livereload files #7

Closed ppkn closed 9 years ago

ppkn commented 9 years ago

Is it possible to ignore some files that the socket.io livereload catches?

hiddentao commented 9 years ago

Yep this would be possible though would require some coding to enable. Would welcome a PR.

ppkn commented 9 years ago

Where is a good place to start looking in the code?

hiddentao commented 9 years ago

This line does the watching -> https://github.com/hiddentao/gulp-server-livereload/blob/master/src/index.js#L221

hiddentao commented 9 years ago

The livereload.filter option satisfies this now.