Extend WatchDaemon + HTTP server
The existing WatchDaemon (double-fork, mtime polling, pidfile) gains an embedded http.server thread on localhost:27471. synlynk daemon becomes an alias for the extended watch. One process, two jobs: file watching + HTTP.
Pros
- Minimal new code — builds on existing double-fork + pidfile pattern
- Single process to manage, single pidfile
- No new concepts for users already using
synlynk watch
Cons
watchanddaemonbecome entangled — harder to evolve independently- Threading in a daemon process adds subtle failure modes