Patch in wdm for --watch