vmarchaud/pm2-githook

Pulling but not reloading

pedrofracassi opened this issue · 0 comments

I'm getting this whenever I push something to my repo:

[2017-05-02T02:50:15.023Z] Received valid hook for app thegifmachine
[2017-05-02T02:50:15.064Z] Successfuly pulled application thegifmachine
Error: spawn eval ENOENT
    at exports._errnoException (util.js:907:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:189:32)
    at onErrorNT (internal/child_process.js:355:16)
    at nextTickCallbackWith2Args (node.js:458:9)
    at process._tickDomainCallback [as _tickCallback] (node.js:413:17)
Server is ready and listen on port 8080

Basically it pulls but fails when restarting, I guess. Also, do I need to add something to my code in order to allow Graceful Reloads?