stream浪汉提供,不能开始咕噜
我试图让stream浪汉安装nodejs正常运行所需的所有东西。 然后,在节点项目的根文件夹上执行“nohup grunt server&”之后,我期望服务器在端口3030上监听,但事实并非如此。
如果正确的configuration后,我做stream浪ssh咕噜服务器&
所有的工作,因为它应该。 只有当configuration器运行它不起作用。
这是我的Vagrantfile的一部分:
git clone https://github.com/airbnb/rendr.git cd /home/temp/rendr/examples/00_simple/ npm install cp -rf /home/temp/rendr/examples/00_simple/ /home/website/nodejs/rendr-try1 cd /home/website/nodejs/rendr-try1/00_simple nohup grunt server &
所以它肯定似乎与没有在terminal上运行的提供者有关,但是有没有简单的方法来让这个运行没有像新贵那样?
好的发现了这一点。
事实certificate,任何想要保持运行的进程都必须正确地守护进程。 为了做到这一点,必须分离stdin,stdout和stderr。
我在做
"nohup grunt server &"
通过grunt启动node.jsreplace为:
"nohup grunt server 0<&- &>/dev/null &"
完美的作品
- 通过Ant执行的Grunt命令的输出略有损坏
- 我怎样才能dynamic生成一个文件名列表,用于与Grunt任务?
- 错误:无法find模块的时间咕噜声
- Gruntjs – 以特定顺序运行多个阻塞任务(Mongo&Node.js)
- npm仍然安装软件包到'/ usr / local / Cellar / node / …',尽pipe我已经卸载了Homebrew的版本节点
- 我怎样才能重新安装grunt在yeoman项目?
- 如何从grunt执行节点模块的茉莉花testing
- “sudo npm install -g grunt-cli”给我一个错误
- 在向dev-dependencies添加grunt时未能parsingjson