gulp-community / gulp-livereload

gulp plugin for livereload
768 stars 67 forks source link

Can't run few instances of livereload #96

Closed asiniy closed 8 years ago

asiniy commented 8 years ago

Hey!

I have one interesting trouble with this plugin. I have a 2 browserify bundles (one for development, and one for tests on jasmine). So, I want to use 2 instances of livereload simultaneously.

I wrote in my gulpfile:

livereload.listen({ port: 35728 });
livereload.listen({ port: 35729 });

but the current code doesn't run livereload instance with port 35729. If I replace this lines, port 35728 wouldn't run. How can I solve this issue?

asiniy commented 8 years ago

Duplication at stackoverflow

asiniy commented 8 years ago

I've found that this one line prevent start of the second livereload instance

asiniy commented 8 years ago

Solved at stackoverflow.