阅读背景:

如何在繁重的任务中保持服务器监听运行?

来源:互联网 

I have a HTTP server I'm running as part of one Grunt task. The listen method is asynchronous (as is most Node.js code), so immediately after the Grunt task has called the method it finishes execution and thus closes the server. I have a HTTP server I'm running as part of one




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: