diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-11-08 00:01:24 -0800 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-11-08 16:52:27 -0800 |
commit | 137aac4781e3da76c7f1631999e70309ed09ce2f (patch) | |
tree | 2a04db27e324d8126390e53acff5d813a186a438 /example | |
parent | 71e5666ceeab0db8bb69c3bfcd2ddef5ab982029 (diff) | |
download | workbench-137aac4781e3da76c7f1631999e70309ed09ce2f.tar.gz workbench-137aac4781e3da76c7f1631999e70309ed09ce2f.tar.bz2 workbench-137aac4781e3da76c7f1631999e70309ed09ce2f.zip |
Separate splicing and refresh into separate plugins
Diffstat (limited to 'example')
-rw-r--r-- | example/build.sbt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/example/build.sbt b/example/build.sbt index 65f7ed2..521ddc3 100644 --- a/example/build.sbt +++ b/example/build.sbt @@ -1,6 +1,11 @@ enablePlugins(ScalaJSPlugin) + +// dynamic page reloading enablePlugins(WorkbenchPlugin) +// (experimental feature) in-place code update with state preservation +// enablePlugins(WorkbenchSplicePlugin) // disable WorkbenchPlugin when activating + name := "Example" scalaVersion := "2.12.0" @@ -10,6 +15,3 @@ version := "0.1-SNAPSHOT" libraryDependencies ++= Seq( "org.scala-js" %%% "scalajs-dom" % "0.9.1" ) - -// (experimental feature) -spliceBrowsers <<= spliceBrowsers.triggeredBy(fastOptJS in Compile) |