Clojurians
#kaocha
<
2019-02-05
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

hmaurer00:02:42

Hi! I am using Kaocha with --watch but sometimes it doesn’t appear to reload namespaces when I make changes to code. I know this isn’t a very specific bug description but I am not sure what else to say

hmaurer00:02:29

Right now I am having to restart the runner every time I make changes, which takes ~10-15 seconds

hmaurer00:02:31

:disappointed:

plexus05:02:39

Hi @hmaurer, can you provide more information? Content of tests.edn and deps.edn/project.clj, operating system, path of the file you're changing...

hmaurer18:02:09

Hi @; thanks for the reply! I am on OS X Mojave and the content of tests.edn/deps.edn/project.clj is as generated by https://github.com/fulcrologic/fulcro-lein-template. The file I was changing was in src/

hmaurer18:02:42

For now I have switched t calling Kaocha from the REPL, which allows me to run clojure.tools.namespace.repl/refresh manually

plexus00:02:35

Was the file in src/main? That's the only directory that's configured as a source path (see :source-paths in tests.edn)

hmaurer00:02:17

@ yes it was. The thing is, it did reload the first couple of times. But after “a couple” (no precise number here) of reloads it seemingly stop reloading properly

plexus05:02:06

You can put it all in a GitHub issue and we'll try to figure it out