tsgrp / HPI

OpenContent Management Suite (OCMS)
http://www.tsgrp.com/products
17 stars 5 forks source link

Build process - add Livereload support #1584

Open dgrumieaux opened 6 years ago

dgrumieaux commented 6 years ago

The build process's watch feature is useful and the next step in utility would be enabling the Livereload plugin. This plugin waits for files to be rebuilt and triggers the browser to reload, automatically reloading the webpage. Talk to @dgrumieaux before working on this - had this almost working.

cchau-tsgrp commented 6 years ago

Please take a look at: https://github.com/gruntjs/grunt-contrib-watch "options.livereload"

dgrumieaux commented 6 years ago

http://svn.tsgrp.com/repos/hpi/feature_branches/dependencyChanges rev 19509 has this "almost" working. The hangup was that whenever livereload sent a signal to the browser, the browser did not successfully reload. It would instead show "Cannot GET /dashboard" or whatever route it was on. This appeared to be an issue with how our connect server was serving assets upon a server refresh, but I was not able to fix that.