benrady/jezebel — pull request #5 by DavidArno (2012-01-31 09:50:06+00:00)
Title: Update to enable it to work with node.js v6 and Windows

I have fixed three issues with the previous version of jezebel in order to enable it to work with node.js v6 and Windows:

1. I have removed dependencies on require.paths as this is no longer supported in node.js.
2. I added a test for the existence of jessie.cmd, which is the Windows jessie command. If found, jezebel forks a new process to run that. If not found, a *nix environment is assumed and the fork/ process call occurs as before.
3. As of node.js v5, fs.watchFile became deprecated and it was replaced with fs.watch. This new function has passes very different parameters to the callback function. I have updated the code to support the new method.

I have tested jezebel on Linux-mint and Windows 7. In both cases it appears to be correctly detecting file changes and invokes the appropriate version of jessie.