make per-file watching actually work