Skip to content

Commit

Permalink
Only watch inside web/ and api/ (#9838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jan 16, 2024
1 parent 1e6a128 commit bcf28fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/internal/src/generate/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bcf28fd

Please sign in to comment.