Closed mmurray closed 10 years ago
sbt-rjs won't run again unless there are changes to your source files... is this what you're seeing?
It's not what I'm seeing. Even after I make changes to my file in src/main/assets/javascripts/main.js
, when I run sbt web-stage
a second time it does not pick up the changes and my target/web/stage/javascripts/main.js
is not updated to reflect the changes. The only way I can get it to rerun is to clean first.
That sounds like a bug. I shall investigate. Thanks.
@murz Found the problem - PR has been attached and being reviewed. Will make an interim release shortly and notify you of the version.
@murz Published under version 1.0.0-2014-05-28-5509668
.
I'm trying to use sbt-rjs in a non-play sbt project.
My
plugins.sbt
includes this:And my
build.sbt
includes this:The first time I invoke
sbt web-stage
everything works perfectly, but on subsequent re-runs nothing happens. The only way I can get the pipeline to run again is if I remove the resulting artifacts from my target directory. Sosbt ~web-stage
won't work, I have to do something like~;clean; web-stage
.