This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-21
Channels
- # announcements (7)
- # babashka (16)
- # beginners (174)
- # biff (7)
- # calva (20)
- # cider (3)
- # clerk (6)
- # cljsrn (4)
- # clojure (98)
- # clojure-europe (57)
- # clojure-italy (3)
- # clojure-nl (1)
- # clojure-portugal (1)
- # clojure-spec (15)
- # clojure-uk (7)
- # code-reviews (3)
- # cursive (23)
- # data-science (1)
- # datomic (26)
- # dev-tooling (2)
- # emacs (5)
- # figwheel-main (4)
- # fulcro (3)
- # honeysql (20)
- # hyperfiddle (20)
- # malli (8)
- # membrane (31)
- # nextjournal (5)
- # pathom (1)
- # polylith (20)
- # re-frame (14)
- # reitit (8)
- # releases (2)
- # shadow-cljs (50)
- # specter (2)
- # sql (22)
- # xtdb (5)
Hi all! I’ve just (sort-of) managed to get my own server running alongside the figwheel-main repl. Where I’m still struggling is that my cljs (re)compiles perfectly when I run figwheel-main, but as soon as I start my web server in a different process (aleph using secure-site ring-defaults), I get what looks like a resource locking issue. I get that aleph might lock the js files in resources/public, but how can I work around that? Or have I got my setup fundamentally wrong somehow?
The error I receive is: java.io.FileNotFoundException: resources\public\public\cljs-out\dev\web_demo\cljs\app.js (The requested operation cannot be performed on a file with a user-mapped section open) Which I would associate with the file being locked by another process. As you can see in the attached, I have multiple successful compiles before and after starting my REPL, but as soon as I start the aleph server, I get the above.