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

Write nREPL port number to .nrepl-port file #300

Closed
wants to merge 1 commit into from

Conversation

r0man
Copy link

@r0man r0man commented Nov 26, 2015

When connecting to an nREPL server started by Figwheel via M-x cider-connect you have to enter the hostname and the port of the nREPL server. The hostname defaults to localhost, and the port number is taken from the .nrepl-port file if it exists. This commit writes the port number taken from the Figwheel options to that file when starting a nREPL server. This allows you to invoke M-x cider-connect and hit enter 2 times, instead of entering the port number manually.

When connecting to an nREPL server started by Figwheel via `M-x
cider-connect` you have to enter the hostname and the port of the nREPL
server. The hostname defaults to `localhost`, and the port number is
taken from the `.nrepl-port` file if it exists. This commit writes the
port number taken from the Figwheel options to that file when starting a
nREPL server. This allows you to invoke `M-x cider-connect` and hit
enter 2 times, instead of entering the port number manually.
@r0man
Copy link
Author

r0man commented Nov 26, 2015

Hello @bhauman, what do you think of this little enhancement?

@danielcompton
Copy link
Contributor

Relates to #258

@r0man
Copy link
Author

r0man commented Nov 26, 2015

Oops, haven't seen this.

@r0man r0man closed this Nov 26, 2015
@bhauman
Copy link
Owner

bhauman commented Nov 26, 2015

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

Successfully merging this pull request may close these issues.

None yet

3 participants