• Miek Gieben's avatar
    Watch the entire directory · dcd05032
    Miek Gieben authored
    Instead of watching a single file watch the entire directory and
    catch the .Name from the event. On any event, just reload the damn
    thing. This also fixes the problem of loosing events when the inode
    changes.
    dcd05032
zone.go 3.18 KB