Global.scala 262 B

123456789101112
  1. import play.api._
  2. import support.Webpack
  3. object Global extends GlobalSettings {
  4. override def onStart(app: play.api.Application){
  5. Webpack.startHotReloadServer()
  6. }
  7. override def onStop(app: play.api.Application){
  8. Webpack.stopHotReloadServer()
  9. }
  10. }