tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

Remove dependency on LiveReload browser plugin #3

Open milliondreams opened 11 years ago

milliondreams commented 11 years ago

Currently we need LiveReload browser plugin to enable live reload for our application. All liveReload Plugin does is add the livereload.js served by the yeoman/grunt live reload server in the page.

We should be able to do this in the play before serving the html.

milliondreams commented 10 years ago

In dev mode we can append the livereload script to the html served.

In case of single page web app this will mean just attaching it to the index page. What do we do with multipage application? Do we attach it to all html served?

Can we differentiate between HTML pages and XHR HTML fragments?