stonexx / sbt-play-auto-refresh

sbt plugin for the play auto-refresh.

Version Matrix

Play Auto Refresh

An play sbt plugin for the play auto-refresh.

Add plugin

Add the plugin to project/plugins.sbt.

addSbtPlugin("com.github.stonexx.sbt" % "sbt-play-auto-refresh" % "1.0.2")

Your project's build file also needs to enable play sbt plugins. For example with build.sbt:

lazy val root = ( file(".")).enablePlugins(PlayScala)

Add script tag to your webpage:

<script src="http://localhost:9999/play-auto-refresh.js"></script>


PlayAutoRefreshKeys.port := [number of port]

(if not set, defaults to 9999)


sbt-play-auto-refresh is licensed under the Apache License, Version 2.0