shakyShane/grunt-browser-sync — pull request #71 by stevemao (2014-09-04 01:49:00+00:00)
Title: Add a flag or option "keepalive"

Hi there. I'm trying to implement this plugin for yeoman generators and found a small problem. Usually grunt tasks will die after grunt finishes running. Plugins like [grunt-contrib-connect](https://github.com/gruntjs/grunt-contrib-connect#connect-task) uses a flag or option to indicate whether you want to keep it alive. Thus this PR. But this might break the previous tasks. Another option is if `keepalive=false` does not present keep it alive by default. let me know what you think. Thanks for this great plugin.

BREAKING CHANGE: the server will only runs as long as grunt is running. Once grunts tasks have completed, the web server stops. This behavior can be changed with the keepalive option, and can be enabled ad-hoc by running the task like grunt browserSync:keepalive