diff options
author | 2016-04-15 20:00:17 +0100 | |
---|---|---|
committer | 2016-04-15 20:00:17 +0100 | |
commit | dcd05032a4624dd03000f51573e3c8626a2fa76d (patch) | |
tree | 3b68a877fc08fe2c764da61218299fd88315b2d8 /main.go | |
parent | aa0ba0c3b4376c55f78091cac58e2237fc5c91ec (diff) | |
download | coredns-dcd05032a4624dd03000f51573e3c8626a2fa76d.tar.gz coredns-dcd05032a4624dd03000f51573e3c8626a2fa76d.tar.zst coredns-dcd05032a4624dd03000f51573e3c8626a2fa76d.zip |
Watch the entire directory
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.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions