FYI.
Isaac Schlueter 4:52
well, the "correct" way to check that would be if (module === require.main)
We've got a related issue in haibu with a workaround coming, but since this is in the default app.js script for express, it seems worthwhile to change if it's not "correct" (for what it's worth).