chriseppstein/compass — Issue #619: Where does the output of `compass watch` go?
Author: timmolendijk
Created: 2011-11-16 01:32:20+00:00
State: open

I'm trying to run `compass watch` from a `Cakefile` (CoffeeScript's Node.js-based build system). When I spawn a new process (`require('child_process').spawn 'compass', ['watch']`) it will indeed watch changes and recompile them. In that sense it works. But I cannot seem to catch the process's output. Nothing comes in over `stdout` or `stderr`.

This problem only applies to `compass watch`, output of other commands such as `compass compile` passes `stdout` as expected.

What is so special about `compile watch` that it behaves differently, and how can I get hold of the process's output?