소스 검색

Add comment

Svilen Markov 8 달 전
부모
커밋
6886716e67
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      internal/glance/config.go

+ 5 - 0
internal/glance/config.go

@@ -229,6 +229,11 @@ func configFilesWatcher(
 				// 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
 				// 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:
 				if !isOpen {
 					return