Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 4b8a403

Browse files
Made all file watches in sg start recursive (#60285)
made watches recursive
1 parent dc81316 commit 4b8a403

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

dev/sg/internal/run/sgconfig_command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func WatchPaths(ctx context.Context, paths []string, skipEvents ...notify.Event)
4141
}
4242

4343
for _, path := range paths {
44-
if err := notify.Watch(path, events, notify.All); err != nil {
44+
if err := notify.Watch(path+"/...", events, notify.All); err != nil {
4545
return nil, err
4646
}
4747
}

sg.config.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,16 +1134,6 @@ commandsets:
11341134
- zoekt-web-1
11351135
- caddy
11361136

1137-
simple:
1138-
requiresDevPrivate: true
1139-
bazelCommands:
1140-
- docsite
1141-
- worker
1142-
- syntax-highlighter
1143-
commands:
1144-
- web
1145-
- slow
1146-
11471137
# If you modify this command set, please consider also updating the dotcom runset.
11481138
enterprise: &enterprise_set
11491139
requiresDevPrivate: true

0 commit comments

Comments
 (0)