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

Commit ffb890b

Browse files
committed
Revert "Made all file watches in sg start recursive (#60285)"
This reverts commit 4b8a403.
1 parent 025a603 commit ffb890b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,16 @@ 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+
11371147
# If you modify this command set, please consider also updating the dotcom runset.
11381148
enterprise: &enterprise_set
11391149
requiresDevPrivate: true

0 commit comments

Comments
 (0)