【问题标题】:grunt-nodemon didn't use nodemon to start servergrunt-nodemon 没有使用 nodemon 来启动服务器
【发布时间】:2014-05-27 09:32:32
【问题描述】:

我使用express-generator创建项目骨架,并使用jadesass代替ejsstylus,然后我使用concurrent组合watchnodemon,如@ 987654321@,但是当我运行 grunt 任务时,输出是:


[nodemon] v1.0.17
【nodemon】随时重启,输入rs
[nodemon] 观看:fir/*/*
[nodemon] 开始node bin/www
Express 服务器监听 3000 端口
mongodb连接打开


已经用node启动服务器了,怎么样?

【问题讨论】:

    标签: node.js express nodemon


    【解决方案1】:

    是的。 Grunt、nodemon 和 Express 都已经在使用 NodeJS。

    Nodemon,让您轻松,因为您不需要总是停止和启动节点来运行您的应用程序。如果它不起作用,您可以使用 rs 强制重新加载。

    【讨论】:

      猜你喜欢
      • 2020-03-24
      • 2021-08-28
      • 2016-10-04
      • 2018-01-05
      • 2014-06-26
      • 2015-12-22
      • 2020-07-11
      • 2017-12-04
      • 2016-05-14
      相关资源
      最近更新 更多