lihaoyi / workbench-example-app

An example application written in ScalaJS using scala-js-dom and scala-js-workbench
204 stars 109 forks source link

Actor name is not unique #7

Closed alexander-myltsev closed 10 years ago

alexander-myltsev commented 10 years ago

I use IntelliJ IDEA for development and bash terminal for SBT. Occasionally, I can't run both because it will attempt to create two Akka actors with same name. Let me know if it doesn't make sense for you.

alexander-myltsev commented 10 years ago

sbt reload will fail for exactly same reason.

lihaoyi commented 10 years ago

Yeah, I know what's going on. The problem is that when SBT boots up, im just setting up a global actor system to run my server , and I'm not tearing it down a or anything when it reloads.

I'm not sure what the solution is to this; i remember reading the sbt-web people have an answer. In the meantime, not-using-reload has been my workaround for the past year or so =P

lihaoyi commented 10 years ago

This should be fixed by workbench 0.1.5