From 7b2b66cc841f9e76841fd88d8847ddf4e229ad49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Est=C3=A9ban?= Date: Fri, 6 Oct 2023 11:41:19 +0200 Subject: [PATCH] fix: watch plugins directory --- src/build.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/build.ts b/src/build.ts index c79273518f..5b09aef411 100644 --- a/src/build.ts +++ b/src/build.ts @@ -506,6 +506,7 @@ async function _watch(nitro: Nitro, rollupConfig: RollupConfig) { join(dir, "api"), join(dir, "routes"), join(dir, "middleware", GLOB_SCAN_PATTERN), + join(dir, "plugins"), ]); const watchReloadEvents = new Set(["add", "addDir", "unlink", "unlinkDir"]);