-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I use Clojure 1.12.0 on Windows 11 cmd in a folder with just one "demo.clj" file.
With:
path> clj -Sdeps "{:deps {org.scicloj/clay {:mvn/version \"2-beta45\"}}}"
user=> (require '[scicloj.clay.v2.api :as clay])
user=> (clay/make! {:source-path "demo.clj" :live-reload true})
I get the error:
Execution error (URISyntaxException) at java.net.URI$Parser/fail (URI.java:2974).
Illegal character in path at index 4: docs\demo_files/html-default0.js
With:
path> clj -Sdeps "{:deps {org.scicloj/clay {:mvn/version \"2-beta44\"}}}"
user=> (require '[scicloj.clay.v2.api :as clay])
user=> (clay/make! {:source-path "demo.clj" :live-reload true})
it works!
with the following output:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
{:url "http://localhost:1971/", :key "clay", :title "Clay", :reveal false, :info [[[[:wrote "docs/demo.html"] nil]] nil {:watchers {"C:\DataDocs\1_Projects\Projects2025\temp" #object[io.methvin.watcher.DirectoryWatcher 0x329cdafa "io.methvin.watcher.DirectoryWatcher@329cdafa"]}, :file-specs {"C:\DataDocs\1_Projects\Projects2025\temp\demo.clj" {:source-path "demo.clj", :live-reload true}}}]}