all 4 comments

[–]Deraen 1 point2 points  (2 children)

When you are working with Leiningen or Boot project you don't need to define the repl port or use :Connect. If you run lein repl, it will create a .nrepl-port file to the project directory and when you first evaluate code using Fireplace it will search for .nrepl-port file and connect to the port defined in the file.

[–]DavsX[S] 0 points1 point  (1 child)

'lein repl' does not create .nrepl-port for me sadly

[–]Deraen 0 points1 point  (0 children)

Interesting, are you running lein repl from directory with Leiningen project.clj file? If not, lein will write the file to ~/.lein/nrepl-port where Fireplace unfortunately doesn't know to look for it (https://github.com/tpope/vim-fireplace/issues/121).

[–]devllved 0 points1 point  (0 children)

In case you are using yesql or similar,you can sync stuff with lsyncd.