From 0e406709a914675e07fcc4157fd08f54be720e6e Mon Sep 17 00:00:00 2001 From: Tobbe Lundberg Date: Tue, 16 Jan 2024 15:00:31 +0100 Subject: [PATCH] Only watch inside web/ and api/ --- packages/internal/src/generate/watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/internal/src/generate/watch.ts b/packages/internal/src/generate/watch.ts index ab4cc7232adf..7a564046825a 100644 --- a/packages/internal/src/generate/watch.ts +++ b/packages/internal/src/generate/watch.ts @@ -35,7 +35,7 @@ import { const rwjsPaths = getPaths() -const watcher = chokidar.watch('**/src/**/*.{ts,js,jsx,tsx}', { +const watcher = chokidar.watch('(web|api)/src/**/*.{ts,js,jsx,tsx}', { persistent: true, ignored: ['node_modules', '.redwood'], ignoreInitial: true,