diff --git a/src/bootstrap.coffee b/src/bootstrap.coffee index e7daa6055..2a9a7d3c6 100644 --- a/src/bootstrap.coffee +++ b/src/bootstrap.coffee @@ -1,6 +1,10 @@ # This file is the first thing loaded on startup. -console.log = (thing) -> OSX.NSLog thing.toString() if thing? +console.originalLog = console.log +console.log = (thing) -> + OSX.NSLog thing.toString() if thing? + console.originalLog(thing) + # load require() function root = OSX.NSBundle.mainBundle.resourcePath