프로그래밍/Tool

[Nodeclipse] Nodemon 사용하기

AkaGeun 2016. 8. 20. 20:34

1. nodemon Install

 - sudo npm -g install nodemon


2. path

 - which nodemon

 - /usr/local/bin/nodemon


3. argument setting

 - Run As -> Run configure -> Arguments -> Node arguments 내 nodemon full path 넣어줌.


(WINDOWS)



4. Mac OS 일 경우

 - 에러화면


 - 해결법

sudo vi /usr/local/lib/node_modules/nodemon/lib/monitor/run.js

function run(options) {

  var cmd = config.command.raw;

  cmd.executable = '/usr/local/bin/node'; /*추가*/

}