美文网首页
node-dev使用简介

node-dev使用简介

作者: 身怀绝技的大壮 | 来源:发表于2017-03-20 12:03 被阅读0次

    简介

    node-dev是一个node.js开发工具,当文件被修改时,它会自动重新启动node进程。

    Github地址:https://github.com/fgnass/node-dev

    使用介绍

    1、安装

    npm install -g node-dev

    2、运行服务

    node-dev index.js

    3、Node-dev 可以当有js文件修改后自动去重启nodejs进程, 这样就不用每次ctrl+c 终止在重启了,而且不仅支持js文件, .json .node .coffee 文件格式都支持。

    相关文章

      网友评论

          本文标题:node-dev使用简介

          本文链接:https://www.haomeiwen.com/subject/ppvbnttx.html