grunt-browserify2 icon indicating copy to clipboard operation
grunt-browserify2 copied to clipboard

add support for `grunt-contrib-watch`

Open shanejonas opened this issue 12 years ago • 3 comments

currently I don't call done to leave the express server running. Using grunt-contrib-watch causes errors like EADDRINUSE, Address already in use.

grunt-express is doing some interesting stuff with restarting express servers. Having a separate task that just calls this.async().

shanejonas avatar Mar 23 '13 14:03 shanejonas

I have this working with a basic express server here: https://github.com/shanejonas/chalice-docs/blob/master/Gruntfile.coffee with regarde and a custom express-server task.

shanejonas avatar Apr 09 '13 19:04 shanejonas

FWIW grunt-regarde is on it's way to deprecation gruntjs/grunt-contrib-livereload#27 gruntjs/grunt-contrib-livereload#32 . grunt-contrib-watch will get a lot better.

joeybaker avatar Apr 18 '13 21:04 joeybaker

Also: https://github.com/gruntjs/grunt-contrib-watch/issues/45

yoshuawuyts avatar Apr 24 '13 23:04 yoshuawuyts