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

warn about multiple instances once #3828

Merged
merged 2 commits into from Dec 20, 2017

Conversation

Projects
None yet
2 participants
@eed3si9n
Member

eed3si9n commented Dec 20, 2017

Fixes #3823

When you launch a second instance of sbt on a build, prior to this change it was displaying java.io.IOException: sbt server is already running on every command. This make it a bit less aggressive, and just display a warning once.

[warn] Is another instance of sbt is running on this build?
[warn] Running multiple instances is unsupported

updated:

[warn] sbt server could not start because there's another instance of sbt running on this build.
[warn] Running multiple instances is unsupported

@eed3si9n eed3si9n requested a review from dwijnand Dec 20, 2017

warn about multiple instance once
Fixes #3823

When you launch a second instance of sbt on a build, prior to this change it was displaying `java.io.IOException: sbt server is already running` on every command. This make it a bit less aggressive, and just display a warning once.

```
[warn] Is another instance of sbt is running on this build?
[warn] Running multiple instances is unsupported
```

@eed3si9n eed3si9n merged commit eace6c0 into sbt:1.1.x Dec 20, 2017

3 checks passed

Codacy/PR Quality Review Good work! A positive pull request.
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@eed3si9n eed3si9n deleted the eed3si9n:wip/double_server branch Dec 20, 2017

@eed3si9n eed3si9n removed the in progress label Dec 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment