Permalink
Browse files

Fixes #33 - Added stderr echo for Selleck to catch errors without --d…

…ebug
  • Loading branch information...
1 parent fd08204 commit 2025d288350c405956c48afdaeac0ce5dbbf779a @davglass davglass committed Dec 12, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/cmds/serve.js
View
@@ -124,7 +124,11 @@ mods = {
});
child.stderr.on('data', function (data) {
- log.debug(cmd + ': ' + data.toString().trim());
+ if (entry === 'docs') { //HACK
+ log.error(cmd + ': ' + data.toString().trim());
+ } else {
+ log.debug(cmd + ': ' + data.toString().trim());
+ }
});
this.app.get('/' + entry + '/' + '*', function(req, res) {

0 comments on commit 2025d28

Please sign in to comment.