change server from PACKAGE mode to FRESH mode when you flush the cache

pull/1/head
ansuz 5 years ago
parent 16549f40bb
commit 3ff40df1b8

@ -62,6 +62,7 @@ if (process.env.PACKAGE) {
config.flushCache = function () { config.flushCache = function () {
FRESH_KEY = +new Date(); FRESH_KEY = +new Date();
if (!(DEV_MODE || FRESH_MODE)) { FRESH_MODE = true; }
if (!config.log) { return; } if (!config.log) { return; }
config.log.info("UPDATING_FRESH_KEY", FRESH_KEY); config.log.info("UPDATING_FRESH_KEY", FRESH_KEY);
}; };

Loading…
Cancel
Save