博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
nodejs express+nodemon 实现自动刷新 (热更新)
阅读量:4345 次
发布时间:2019-06-07

本文共 198 字,大约阅读时间需要 1 分钟。

1.全局安装 nodemon

npm i nodemon -g -f

  2. 在项目中安装nodemon

npm i nodemon -f

  

3.使用nodemon 

在express项目中 运行nodemon

nodemon bin/www

  

这个时候就可以实现自动更新了

转载于:https://www.cnblogs.com/MainActivity/p/11169322.html

你可能感兴趣的文章
window.addEventListener介绍说明
查看>>
JSON字符串转JavaBean,net.sf.ezmorph.bean.MorphDynaBean cannot be cast to ……
查看>>
Java小知识----POI事件模式读取Excel 2007
查看>>
Linux常见英文报错中文翻译
查看>>
17. Letter Combinations of a Phone Number
查看>>
高铁运营数据积累
查看>>
collections模块方法详解
查看>>
使用session防止重复提交
查看>>
10 款新鲜出炉的jQuery UI插件
查看>>
A. 【UR #16】破坏发射台
查看>>
遇到过的小问题
查看>>
梳理知识点(一)
查看>>
ftk学习记(输入框篇)
查看>>
nginx菜鸟模块开发遇到的问题汇总之nginx_array_t
查看>>
ssh登录问题
查看>>
Azure Table storage 之改进DynamicTableEntity类为其添加动态语言扩展
查看>>
在每页(分页)报表中重复显示标题 - SQL Server Reporting Service (SSRS)
查看>>
Spring的前期配置
查看>>
计算机体系结构层次-一张图诠释
查看>>
所闻所获2:使用块回调来实现代理的功能
查看>>