You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I experienced a similar issue that turned out to be caused by writing my styles in a .cljc file. garden-watcher converts the namespace to a filename and assumes the .clj extension.
If I had to take a guess this issue is probably caused by bugs in environments and not a bug in garden-watcher. Under default scenarios classpath and system-classpath are basically equivalent, one shouldn't return an empty list and the other work. There are few bugs for Clojure's classloader that can cause classpath to return an empty list, e.g https://dev.clojure.org/jira/browse/CLASSPATH-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
Hi,
I just added garden-watcher as a component to my system-map, got everything setup but on system start I get this error message:
You can see that it does not watch any files. I debugged into this and in https://github.com/plexus/garden-watcher/blob/7d241e5234a9ec57dee8af03706fd45dc04ac37b/src/garden_watcher/core.clj#L24 it calls the
classpath
function. On my system this one returns an empty list.By switching to the
system-classpath
function I can make it work and the watcher watches the corresponding file.The text was updated successfully, but these errors were encountered: