Fork me on GitHub
#shadow-cljs
<
2023-05-17
>
frankitox18:05:15

Is there any way to command line override {:http {:port ...}} config? I've found --config-merge but that's only for the build map

thheller18:05:07

there is not no, why would you want to?

frankitox18:05:41

I tend to run shadow-cljs watch x for different projects at the same time

frankitox18:05:30

Which is not a problem on its own, but sometimes also have to modify :devtools-url to specify the port

thheller18:05:36

why don't you hardcode the port in those cases and let it picks its own port the rest of the time?

thheller18:05:48

or just pick a port per project?

frankitox18:05:57

yes, I'll hardcode the port for that particular project :thinking_face:

frankitox18:05:19

I'm over thinking it

thheller18:05:00

I mean its not impossible to add an option, just seems like more work than what you can already do 🙂

frankitox18:05:09

right! also is a nice thing to know that shadow picks the next available +1 port, it adds predicability