When a build fails especially on frontend, we see it throws an error but process don't exit. Due to it the build just hangs instead of exiting.
server-webpack error ModuleNotFoundError: Module not found: Error: Can't resolve 'apollo-link-scalar' in '/Users/fullstack-pro/servers/frontend-server/src/modules'
at factory.create (/Users/fullstack-pro/node_modules/webpack/lib/Compilation.js:925:10)
The fix I have found that work is by replacing this line https://github.com/sysgears/larix/blob/master/packages/zen/src/executor.ts#L121 with process.exit(1). Let me know if you want me to send PR.