-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dev mode detection does not always work #46
Comments
This bit me too, thanks for the report |
To work around the issue, I changed (isDevMode in scalaJSPipeline) := {
val cmd = CrossSbtUtils.executedCommandKey.value.trim
(devCommands in scalaJSPipeline).value.exists(cmd.endsWith)
} |
I think that is still going to have the same problem since it is What we want to be able to do is use We could still do it with a similar approach if we remove whitespace around the
|
sbt-web-scalajs |
With sbt 1.1.1 I was running a Play project using the task
server / run
. TheexecutedCommandKey
task will stop parsing the task when it encounters whitespace and so in this caseexecutedCommandKey
is"server"
and not"run"
. The consequence is thatisDevMode
will befalse
instead oftrue
.The text was updated successfully, but these errors were encountered: