feat: watch blueprint.yaml for update and auto resend

Add a file watcher that re-pushes the blueprint to the server whenever
the blueprint file is modified while Newt is running, matching the
reactive behavior of the Docker event monitor.


Former-commit-id: 025497138d
This commit is contained in:
Erwan Leboucher
2026-03-15 16:14:00 +01:00
parent 72ea572acb
commit 17a4db6810
5 changed files with 214 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ require (
github.com/docker/go-connections v0.6.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/btree v1.1.3 // indirect