I'm deploying the starter project https://github.com/DaftMonk/generator-angular-fullstack (the most popular yeoman generator). I've build and served the project on a remote ubuntu 14.01 server using the command:

 grunt serve:dist

Everything works great... until I terminate the ssh session. Has anyone successfully run this generator project as a daemon? Thanks!

有帮助吗?

解决方案

You can use nohup.

nohup  grunt serve:dist &

Check nohup man page

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top