adding --watch-exclude doesn't work because then my project doesn't restart when the generated file is created.