Search code examples
clojurescriptshadow-cljs

shadow-cljs - socket connect failed, server process dead?


I'm using shadow-cljs in a ClojureScript project. When I do

shadow-cljs watch app

the console log the error shadow-cljs - socket connect failed, server process dead?.

I restarted my computer but the error still

What can I do to fix this problem?


Solution

  • Does it not continue after showing this error? Make sure you are on a recent version.

    This is more like a warning if the server instance wasn't properly shutdown previously. If it doesn't continue normally after printing that message you can wipe the .shadow-cljs directory to fix it although it is supposed to fix itself in this case.