lambdaisland / kaocha

Full featured next gen Clojure test runner
https://cljdoc.org/d/lambdaisland/kaocha/1.0.861/doc/1-introduction
Eclipse Public License 1.0
792 stars 81 forks source link

Please bump beholder version so --watch works when editing with neovim #397

Closed davesann closed 1 year ago

davesann commented 1 year ago

com.nextjournal/beholder {:mvn/version "1.0.2"}

see https://github.com/nextjournal/clerk/pull/397 and https://github.com/gmethvin/directory-watcher/issues/88

alysbrooks commented 1 year ago

I think bumping Beholder makes sense, but I would like to delve into this issue a little more. Back in April 2022, I looked into a similar issue. The problem seemed to be limited to when both noswapfile and either backupcopy=no or backupcopy=auto.

alysbrooks commented 1 year ago

@davesann, what's your setting for swapfile? Also, which version of Kaocha are you using?

alysbrooks commented 1 year ago

398 is merged.

You can test it out by pointing to the git changeset:


{lambdaisland/kaocha {:git/url "https://github.com/lambdaisland/kaocha"
                      :git/sha "34c9975c0a3565de2995c131b57147386297883d"}}
davesann commented 1 year ago

I think bumping Beholder makes sense, but I would like to delve into this issue a little more. Back in April 2022, I looked into a similar issue. The problem seemed to be limited to when both noswapfile and either backupcopy=no or backupcopy=auto.

with the previous beholder version, I can fix ths issue by setting backupcopy=yes - see https://github.com/gmethvin/directory-watcher/issues/88 for details

davesann commented 1 year ago

398 is merged.

You can test it out by pointing to the git changeset:

{lambdaisland/kaocha {:git/url "https://github.com/lambdaisland/kaocha"
                      :git/sha "34c9975c0a3565de2995c131b57147386297883d"}}

validated - resolved for neovim.

davesann commented 1 year ago

@davesann, what's your setting for swapfile? Also, which version of Kaocha are you using?

swapfile is as per default - so on (I think)

alysbrooks commented 1 year ago

swapfile is as per default - so on (I think)

That definitely used to be the case. I think if you run :swapname, it will tell you the name of the swap file (if it's in use) and presumably nothing if it's disabled.

alysbrooks commented 1 year ago

Fix is released!

[lambdaisland/kaocha "1.78.1249"]
{lambdaisland/kaocha {:mvn/version "1.78.1249"}}