I am using coffeescript with the --watch option to rebuild javascript when making changes to .coffee files.
Is it possible to combine this with node -supervisor to restart Node when changing compiled javascript?
I am worried that this will not be reliable due to atomicity when coffeescript recompiles multiple files. node -supervisor can jump the gun and restart Node when it detects the first file system change. Is it reliable enough to realize that there were additional changes when it was busy restarting Node?
Is there a better way? Ideally, I will have only one file system watcher recompiling my coffeescript and reloading node.
source
share