Skip to content

Commit

Permalink
fix: watch plugins directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbapapazes authored Oct 6, 2023
1 parent d656ea0 commit 7b2b66c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);
Expand Down

0 comments on commit 7b2b66c

Please sign in to comment.