cider 2026-01-05

Maybe someone could help here, I donโ€™t know how to make cider find my index.html when running cider-jack-in-cljs. There are more details in the message below. https://clojurians.slack.com/archives/C099W16KZ/p1767110735418159

โœ… 1

Have you tried creating the index.html in the project root?

Also I don't think your :main-opts are actually being used since CIDER appends its own alias :cider/nrepl with custom :main-opts. You can check the actual startup command in the REPL buffer when it's launched.

So if you just need a custom index.html page you can put it to the project root, I tested it and it seems to be working fine.

Thank you for your answer that was very helpful ๐Ÿ‘ , it works now. Maybe some additional questions: how could I print the current project root for this cider session?

CIDER uses clojure-mode to detect project root. You can use M-: (clojure-project-root-path) or M-: (clojure-ts-project-root-path) if you use clojure-ts-mode