We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can browse auto-refresh after readme/run?
readme/run
I try this with Itellij chrome live edit feature.
but it's not working well.
I want to use workbench. but don't know how.
The text was updated successfully, but these errors were encountered:
here's partial solution.
add below strings into build.sbt
/* For openDocument after scalatext document compiled maybe defining task in readme project is better than this. // http://www.scala-sbt.org/0.13/docs/Howto-After-Input-Task.html */ lazy val openDocument = TaskKey[Unit]("openDocument", "openbrowser") // TODO: refresh browsers tab has current targetURI. openDocument := { val target = baseDirectory.value / "readme/target/scalatex/index.html" java.awt.Desktop.getDesktop.browse(target.toURI) } addCommandAlias("dc", ";readme/run;openDocument")
and then run sbt dc
sbt dc
it will open browser after scalatex compile.
but, I can't find how to refresh browser tab has same uri.
anyone know that?
Sorry, something went wrong.
Here's what I use
$ cat ~/dotfiles/bin/watchscalatex.sh browser-sync start --server --files "readme/target/scalatex/**" --startPath "/readme/target/scalatex"
I then keep ~readme/run and watchscalatex.sh running in two separate terminal consoles.
No branches or pull requests
how can browse auto-refresh after
readme/run
?I try this with Itellij chrome live edit feature.
but it's not working well.
I want to use workbench. but don't know how.
The text was updated successfully, but these errors were encountered: