Nan (Native Abstractions for Node.js)
How to rebuild node.js addon when source changes
I have a node.js app and I have created a native addon. (In case you need background info, native addons for node.js can be created like this). In my development environment I want it to watch source files (these are C++ source files, in this case) and automatically rebuild my addon when the C++ source files change, and also automatically restart the node application after the build completes.
https://stackoverflow.com/questions/49849739/how-to-rebuild-node-js-addon-when-source-changes
오지는 addon 개발환견 발견..
변수 받는거 하고 callback은 promise로 대체하면 될거같고 thread형태로 하는거 진행중

다른쓰레드에서 resolve해서 에러나는듯?

Seonglae Cho