mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-22 08:29:46 +00:00
chore: fix watch comment
This commit is contained in:
parent
7ec3c04236
commit
03bf85a185
@ -54,7 +54,7 @@ export default defineNuxtModule<Partial<ImportsOptions>>({
|
|||||||
|
|
||||||
directivesDir = directivesDir.map(dir => normalize(dir))
|
directivesDir = directivesDir.map(dir => normalize(dir))
|
||||||
|
|
||||||
// Restart nuxt when composable directories are added/removed
|
// Restart nuxt when directives directories are added/removed
|
||||||
nuxt.hook('builder:watch', (event, relativePath) => {
|
nuxt.hook('builder:watch', (event, relativePath) => {
|
||||||
if (!['addDir', 'unlinkDir'].includes(event)) { return }
|
if (!['addDir', 'unlinkDir'].includes(event)) { return }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user