when I watch in dev mode with webpack, when I change a source file and save, typescript-declaration-webpack-plugin only generates the type declaration for the file I changed, I tried to set removeMergedDeclarations = false and webpack config output.clean = false, doesn't help. I guess it's because ts-loader re-emits the type declaration for that file only. How do I set it up in order to regenerate the whole type declaration bundle when I save a single file in watch mode?
when I watch in dev mode with webpack, when I change a source file and save, typescript-declaration-webpack-plugin only generates the type declaration for the file I changed, I tried to set removeMergedDeclarations = false and webpack config output.clean = false, doesn't help. I guess it's because ts-loader re-emits the type declaration for that file only. How do I set it up in order to regenerate the whole type declaration bundle when I save a single file in watch mode?