Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.11 KB

shell.md

File metadata and controls

39 lines (25 loc) · 1.11 KB

shell工具提高开发效率

资源

监控命令执行,reload shell

npm install -g watch
watch command 
example 
watch ./deploy.sh
change ./deploy.sh update /deploy.sh

监控其他文件变化
nodemon --exec 'sh' deploy.sh
nodemon --watch --exec 'sh' deploy.sh


nodemon 也可监控node脚本的变化
nodemon lib/cli.js

https://github.com/mattallty/Caporal.js

https://github.com/visionmedia/debug

https://github.com/sindresorhus/generator-nm

https://github.com/FormidableLabs/nodejs-dashboard

npm-check -g

https://github.com/donnemartin/dev-setup