Perhaps I’m misunderstanding something, but it seems that using :build-hooks [(portal.shadow.remote/hook)] prevents a non-watch dev build from exiting, because the server thread is not a daemon one.
Couldn’t find any previous mentions of it, so decided to ask before making an issue.
I’m not certain. This hook only exists tohttps://github.com/djblue/portal/blob/master/src/portal/shadow/remote.cljs#L4.
Well, and to start the server itself. :) That’s where the problem is. If there are no reasons not to make the server thread a daemon one, I can try to create a PR.