Had an issue when the repo was moved to a new machine and the cwd option was no longer valid. While err triggered the if condition, stderr was empty, so nothing was logged to notify me what the issue was.
My suggestion is to log both err and stderr in "node.js.hb".
I already mentioned the problem of the hard coded cwd in #24 . Would you mind sending a quick PR (on a separate branch) to illustrate your suggestion? Thanks in advance!
Had an issue when the repo was moved to a new machine and the
cwd
option was no longer valid. Whileerr
triggered theif
condition,stderr
was empty, so nothing was logged to notify me what the issue was.My suggestion is to log both
err
andstderr
in "node.js.hb".