From c1f7df2826a1db1a6e8ba1d6b35c806a91e1e3cc Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Fri, 22 Apr 2016 16:56:42 +0200 Subject: [PATCH] don't run modules-runtime-hot in production/testing (fixes #46) --- modules-runtime-hot/modules-runtime-hot.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules-runtime-hot/modules-runtime-hot.js b/modules-runtime-hot/modules-runtime-hot.js index 6911b90..2f452a7 100644 --- a/modules-runtime-hot/modules-runtime-hot.js +++ b/modules-runtime-hot/modules-runtime-hot.js @@ -1,3 +1,6 @@ +if (process.env.NODE_ENV === 'production' || Meteor.isTest) + return; + mhot = { }; /*