From cf6fef85c048842bbc144f9aa4474e4c9b2d71c6 Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Mon, 2 May 2022 16:37:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96vite-plugin-restart=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite/plugins/restart.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vite/plugins/restart.js b/vite/plugins/restart.js index a7536bd2..24814386 100644 --- a/vite/plugins/restart.js +++ b/vite/plugins/restart.js @@ -9,9 +9,6 @@ export default function createRestart() { } }) return ViteRestart({ - restart: [ - ...pluginsFile, - '.env.development' - ] + restart: pluginsFile }) }