From 661c1331d66acd562d97a1779a927a9229287c92 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 18 Jun 2018 18:18:47 -0400 Subject: [PATCH] Remove rollup cache so live reload works again (closes #5089) --- build_src.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build_src.js b/build_src.js index ab215ca57..a0f3221ca 100644 --- a/build_src.js +++ b/build_src.js @@ -8,7 +8,6 @@ const json = require('rollup-plugin-json'); const colors = require('colors/safe'); module.exports = function buildSrc() { - var cache; var building = false; return function () { if (building) return; @@ -33,11 +32,9 @@ module.exports = function buildSrc() { }), commonjs(), json( { indent: '' }) - ], - cache: cache + ] }) .then(function (bundle) { - cache = bundle; return bundle.write({ format: 'iife', file: 'dist/iD.js', @@ -51,7 +48,6 @@ module.exports = function buildSrc() { }) .catch(function (err) { building = false; - cache = undefined; console.error(err); process.exit(1); });