The error in #674 is caused by a change of the package.json file during the build, which triggers some code path that is valid in WatchCompilerHostOfConfigFile but not in WatchCompilerHostOfFilesAndCompilerOptions that this plugin uses (because of configOverwrite option). This PR ignores the package.json file in watcher as a work-around.
The error in #674 is caused by a change of the
package.json
file during the build, which triggers some code path that is valid inWatchCompilerHostOfConfigFile
but not inWatchCompilerHostOfFilesAndCompilerOptions
that this plugin uses (because of configOverwrite option). This PR ignores thepackage.json
file in watcher as a work-around.Closes: #674