hookio/hook.io — pull request #195 by robertjustjones (2012-05-14 15:03:44+00:00)
Title: Fix forever-shim hook.src behavior to match spawn.js

If the hook.src property is used for non-local children, spawn.js resolves the hook using require.resolve. This allows resolving thru the entire hierarchy of possible node_modules locations.

The forever-shim currently uses path.resolve instead, which expects a fully specified path.

I believe the change in the commit to use require.resolve is what was originally intended.

Thanks!!