atom-chlorine icon indicating copy to clipboard operation
atom-chlorine copied to clipboard

Cannot Connect Embedded when shadow-cljs.edn is not in root folder

Open skershaw opened this issue 4 years ago • 3 comments

This is a problem e.g. in a monorepo.

skershaw avatar Jul 31 '20 16:07 skershaw

Hi, thanks for the info.

In this case, where does shadow-cljs.edn is located? On which folder? Can you send me an example?

Thanks :)

mauricioszabo avatar Aug 04 '20 18:08 mauricioszabo

Unfortunately the repository is private, so I can't share it.

The folder structure is something like:

├── backend
├── frontend
│   ├── .shadow-cljs
│   ├── ...
│   └──  shadow-cljs.edn
...

If it wasn't clear, Chlorine connects as expected when I add a copy of shadow-cljs.edn to the root folder.

Thanks for writing Chlorine! :)

skershaw avatar Aug 07 '20 16:08 skershaw

Nice, I just wanted to see how's the structure so I can maybe find out a better way to implement it. Will check how to do it (there was already some experimental code to capture the runtimes, etc, but they used internal APIs of Shadow-CLJS that are not available anymore. The newer version do need to know where .shadow-cljs is, at least, so I can't re-use code).

mauricioszabo avatar Aug 07 '20 16:08 mauricioszabo