运行、调试、模块
console.log('hello world2')
bash 运行
node helloworld
或者
node helloworld.js
Nodemon自动重启
见识代码修改,自动重启
首先全局安装
npm i nodemon -g
nodemon helloworld
运行、调试、模块
console.log('hello world2')
bash 运行
node helloworld
或者
node helloworld.js
Nodemon自动重启
见识代码修改,自动重启
首先全局安装
npm i nodemon -g
nodemon helloworld