mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 18:31:24 +02:00
Add comment
This commit is contained in:
parent
6165308c23
commit
6886716e67
@ -229,6 +229,11 @@ func configFilesWatcher(
|
|||||||
// when it gets recreated, in which case we may need to watch the directory for the
|
// when it gets recreated, in which case we may need to watch the directory for the
|
||||||
// creation of that file and then re-add it to the watcher, though that's
|
// creation of that file and then re-add it to the watcher, though that's
|
||||||
// a lot of effort for a hopefully rare edge case
|
// a lot of effort for a hopefully rare edge case
|
||||||
|
|
||||||
|
// TODO: update - try and fix this for v0.7.0
|
||||||
|
// so, about that "rare edge case"... it's not so rare
|
||||||
|
// guess what happens when you run `git pull` and a file has changes?
|
||||||
|
// yeah, it gets removed and re-added ( :
|
||||||
case err, isOpen := <-watcher.Errors:
|
case err, isOpen := <-watcher.Errors:
|
||||||
if !isOpen {
|
if !isOpen {
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user