bdkjones / CodeKit

CodeKit 3 Issue Tracker
https://codekitapp.com
82 stars 5 forks source link

Hooks StdOut not working for exit code (0) #206

Closed robstown closed 8 years ago

robstown commented 8 years ago

Quick, short summary: I no longer seem to get the stdout message with exit code(0) that I used to get. I ran a hook to bundle modules using browserify, and I got the following: The Hook "Hook #1" ran normally (exit code 0), but did not write anything to StdOut. I was surprised there was nothing in StdOut so I manually ran the command in the bash terminal and got the following message:

Robs-MacBook-Pro:TP_v0-1 Rob$ browserify build/client.js -o build/main.js
Error: Cannot find module './models/Element.js' from '/Users/Rob/Robs-Stuff/taskpole/development/TP_v0-1/build'
    at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:55:21
    at load (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
    at onex (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
    at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:82:15)

Expected results: The error message is shown to me in CK3 log

Actual results: Log says it runs with exit code(0) and without StdOut

Exact steps to reproduce: run a hook that fails

A link to download a simplified project or file that shows the issue: can provide if necessary (if not easy repeatable with new project)

Your configuration (any details about your system that you think might be relevant) CK3 release candidate 6

robstown commented 8 years ago

Ignore, it was a late night