NodeBB/NodeBB — pull request #2524 by kakchan (2014-12-12 14:08:42+00:00)
Title: Fix "require is not defined" js error when executing "node app"

When executing "node app", minifier.js never finish and caused "require is not defined" in the frontend. That was caused by 'message' never reach to minifier.js. Having setTimeout 100ms, should fix the issue. Would be good if anyone has a better fix than this (I am running node v0.10.29).

I also added debug break option in case somebody would like to debug minifier.js