Add fix for running in dev and test mode

This commit is contained in:
Blade Barringer
2016-03-10 12:16:19 -06:00
parent fbdbd8e006
commit 0f7a730a58
+1
View File
@@ -4,6 +4,7 @@
// In production, the es6 code is pre-transpiled so it doesn't need it
if (process.env.NODE_ENV !== 'production') {
require('babel-register');
require('babel-polyfill');
}
// Only do the minimal amount of work before forking just in case of a dyno restart