lib/model: Trigger a pull when ignore patterns change

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4532
This commit is contained in:
Jakob Borg
2017-11-20 17:32:51 +01:00
parent 00ce889a8b
commit 4949721c0b
3 changed files with 3 additions and 6 deletions
-2
View File
@@ -50,8 +50,6 @@ func (f *folder) DelayScan(next time.Duration) {
f.scan.Delay(next)
}
func (f *folder) IndexUpdated() {}
func (f *folder) IgnoresUpdated() {
if f.FSWatcherEnabled {
f.scheduleWatchRestart()