clay/make! Execution error in 2-beta45
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}}}]}
Many thanks, @jspille.
This seems related to #255, and is possibly related to recent changes in the way we handle paths.
Apologies for the delay in handling this bug, it may take more time.