Currently when running nuxt generate it can happen that nuxt freezes at end of the process because open websockets exist. For example when using Firebase, the websocket won't ever stop. Therefore nuxt just prints
[nuxt] Generate done
and does not stop afterwards. I attached a minimal hanging example:
Nuxt_Generate_Hung.zip
I wish there would be a callback when the generation is done where I can cleanup stuff and call
firebase.database().goOffline()
for my example.