fix: make addWatchFile()
work (fix #7024)
#9723
Merged
addWatchFile()
work (fix #7024)
#9723