運行荐类、調試、模塊
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