Skip to content

(cp/classpath) not working on W10 #3

@sveri

Description

@sveri

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:

(start-dev-system)
Garden: compiling #'de.sveri.estar.styles/main
Wrote: resources/public/css/main.css
Garden: watching 
NullPointerException   hawk.core/extract-paths-by-type/fn--35330 (core.clj:15)

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.

Garden: stopped watching namespaces.
Garden: watcher not running
Garden: compiling #'de.sveri.estar.styles/main
Wrote: resources/public/css/main.css
Garden: watching C:\Users\sveri\IdeaProjects\clojure\estar\src\clj\de\sveri\estar\styles.clj
=> #<SystemMap>
Garden: compiling #'de.sveri.estar.styles/main
Wrote: resources/public/css/main.css

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions