Skip to content
New issue

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

sbt-rjs hangs #84

Open
roti opened this issue Aug 20, 2019 · 2 comments
Open

sbt-rjs hangs #84

roti opened this issue Aug 20, 2019 · 2 comments

Comments

@roti
Copy link

roti commented Aug 20, 2019

I had a weird behaviour in my environment, namely the build simply hanged (did not finish, no CPU usage) using tasks assets or run.
My environment is Play 2.6, sbt 1.2.8, sbt-rjs 1.0.10. I can provide a test project if needed.

Initially I thought it's a compatibility problem, tried to build sbt-rjs against newer stuff, like sbt 1.0.1, js-engine 1.2.3, but with no success.

I discovered that the problem was actually this line in my build.sbt:

pipelineStages in Assets := Seq(rjs)

I have no clue why this happens, tried to look at some debug logs (starting sbt with sbt -debug), and did not find anything. Apparently when running assets, sbt first executes update and then hangs. It may be that the cause is not in sbt-rjs.

@marcospereira
Copy link

Is this reproducible? Can you take a thread dump when it hangs?

@roti
Copy link
Author

roti commented Aug 21, 2019

sbt-rjs-test.zip
Here's a test project where it occurs everytime you call assets or run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants