diff --git a/modules/assetfs/layered.go b/modules/assetfs/layered.go index e18a13e4a..d69732f81 100644 --- a/modules/assetfs/layered.go +++ b/modules/assetfs/layered.go @@ -217,7 +217,7 @@ func (l *LayeredFS) WatchLocalChanges(ctx context.Context, callback func()) { } layerDirs = append(layerDirs, ".") for _, dir := range layerDirs { - if err = watcher.Add(util.FilePathJoinAbs(layer.localPath, dir)); err != nil { + if err = watcher.Add(util.FilePathJoinAbs(layer.localPath, dir)); err != nil && !os.IsNotExist(err) { log.Error("Unable to watch directory %s: %v", dir, err) } }