Update to the new way of adding watches in inotify

Created by  isagalaev  on June 29, 2023
SU6UIBM75GUATTUPTSTLEM7EOYKHRCRC4OTVI3H5EN6YW233H2FAC
Change contents