From bbf48f1fcf680a10d909139db673f60f7a259851 Mon Sep 17 00:00:00 2001 From: Jakob Rosenberg Date: Mon, 26 Oct 2020 20:23:56 +0100 Subject: [PATCH] fix: livereload was enabled for nollup --- lib/plugins/nollup/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/plugins/nollup/index.js b/lib/plugins/nollup/index.js index 143e328..91c98f6 100644 --- a/lib/plugins/nollup/index.js +++ b/lib/plugins/nollup/index.js @@ -40,7 +40,9 @@ module.exports.default = { config: { ...app.config.rollup, plugins: [ - ...app.config.rollup.plugins.filter(plugin => plugin.name !== 'hot'), + ...app.config.rollup.plugins.filter(plugin => + !['hot', 'livereload'].includes(plugin.name) + ), hmr({ inMemory: true, public: staticDir, compatNollup: true }) ] },