From 4d50796d25dbbc084239f72ffd8dfaacb2ceaf2e Mon Sep 17 00:00:00 2001 From: Slayer95 Date: Thu, 17 Apr 2014 00:47:35 -0500 Subject: [PATCH] Fix watchConfig --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index a9a3157656..538852e9fe 100644 --- a/app.js +++ b/app.js @@ -108,7 +108,7 @@ if (Config.watchconfig) { if (curr.mtime <= prev.mtime) return; try { delete require.cache[require.resolve('./config/config.js')]; - config = require('./config/config.js'); + Config = require('./config/config.js'); console.log('Reloaded config/config.js'); } catch (e) {} });