Skip to content

Commit b4eed13

Browse files
committed
add watch directive to the Caddyfile
1 parent 1506317 commit b4eed13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/Commands/Worker/Views/Caddyfile.tpl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
# Number of workers (default: 2x CPU cores)
1717
# Adjust based on your server capacity
1818
# num 16
19+
20+
# Watch for PHP code changes (development only)
21+
watch app/**/*.php
22+
watch vendor/**/*.php
23+
watch .env
1924
}
2025
}
2126

0 commit comments

Comments
 (0)