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

New server should be guarded #954

Closed
lgrapenthin opened this issue Jan 19, 2015 · 4 comments
Closed

New server should be guarded #954

lgrapenthin opened this issue Jan 19, 2015 · 4 comments
Labels

Comments

@lgrapenthin
Copy link

If I hit C-c M-c RET RET I am asked if I really want to create a second connection.

If I accidentally hit C-c M-j instead, without warning a new nrepl server is booted. The latter op should be guarded if there already is a server associated with the project of the current buffer.

@vspinu
Copy link
Contributor

vspinu commented Jan 19, 2015

If I accidentally hit C-c M-j instead, without warning a new nrepl server is booted.

It does ask in my case and as far as I can recall it always did. That is, if I boot with C-c M-j once, second time I am asked for a confirmation.

@bbatsov
Copy link
Member

bbatsov commented Jan 19, 2015

It does ask in my case and as far as I can recall it always did. That is, if I boot with C-c M-j once, second time I am asked for a confirmation.

Same for me.

@lgrapenthin
Copy link
Author

You are right regarding file buffers. I am using 0.8.2 and C-c M-j isn't guarded in the REPL buffer.

@bbatsov
Copy link
Member

bbatsov commented Jan 24, 2015

Yeah, I can confirm the problem.

@bbatsov bbatsov added the bug label Jan 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants