You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When modifying an .sc script under --watch, the project gets re-run, but doesn't actually get rebuilt.
To Reproduce
// script.sc
println("Hello")
and then
scala-cli run . --watch
and then modify script.sc into:
// script.sc
println("Hello world")
The change triggers a re-run, but doesn't actually respect the change:
Compiling project (Scala 3.5.0, JVM (17))
Compiled project (Scala 3.5.0, JVM (17))
Hello
Program exited with return code 0.
Watching sources, press Ctrl+C to exit, or press Enter to re-run.
Hello
Program exited with return code 0.
Watching sources, press Ctrl+C to exit, or press Enter to re-run.
Expected behaviour
Compiling project (Scala 3.5.0, JVM (17))
Compiled project (Scala 3.5.0, JVM (17))
Hello
Program exited with return code 0.
Watching sources, press Ctrl+C to exit, or press Enter to re-run.
Hello world
Program exited with return code 0.
Watching sources, press Ctrl+C to exit, or press Enter to re-run.
The text was updated successfully, but these errors were encountered:
Version(s)
1.5.0 / d2d308c
Describe the bug
When modifying an
.sc
script under--watch
, the project gets re-run, but doesn't actually get rebuilt.To Reproduce
and then
scala-cli run . --watch
and then modify
script.sc
into:The change triggers a re-run, but doesn't actually respect the change:
Expected behaviour
The text was updated successfully, but these errors were encountered: