When you instruct the application to redirect output to STDOUT (as in hbs -s -D data.json template.hbs) you still get a stray debug message written to STDERR saying that the output was written to file. This is misleading and potentially problematic in pipelined scenarios (e.g. if you wanted hbs -s ... 2>&1 > output.json && something-else.sh < output.json)
When you instruct the application to redirect output to STDOUT (as in
hbs -s -D data.json template.hbs
) you still get a stray debug message written to STDERR saying that the output was written to file. This is misleading and potentially problematic in pipelined scenarios (e.g. if you wantedhbs -s ... 2>&1 > output.json && something-else.sh < output.json
)