exec does not return the output until the process has ended - the ws process never ends (until manually stopped) as it's a server, so by design it must stay alive..
To capture the output of a running process, use spawn.
Closing, as this is not a bug with local-web-server.
When I run server from cli everything works as expected, but if I run it from node.js it doesn't output anything.