gimm / gulp-express

gulp plugin for express
56 stars 26 forks source link

server.notify #38

Closed JosephShering closed 9 years ago

JosephShering commented 9 years ago

On my project the server.notify method gets called but does not actually restart my server.

gulp.watch('./src', server.notify);

The livereload will fire, but the server does not restart.

gimm commented 9 years ago

you need to use server.run if you want to start/restart the server; server.notify is aimed to tell the livereload.js on the client(browser) to load the new version(changed) resource(s);