We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
watcher
1 parent b1efe43 commit 276ff5fCopy full SHA for 276ff5f
internal/execute/watcher.go
@@ -54,7 +54,8 @@ func (w *watcher) hasErrorsInTsConfig() bool {
54
}
55
return true
56
57
- if !reflect.DeepEqual(w.options.CompilerOptions(), configParseResult.CompilerOptions()) {
+ // CompilerOptions contain fields which should not be compared; clone to get a copy without those set.
58
+ if !reflect.DeepEqual(w.options.CompilerOptions().Clone(), configParseResult.CompilerOptions().Clone()) {
59
// fmt.Fprint(w.sys.Writer(), "build triggered due to config change", w.sys.NewLine())
60
w.configModified = true
61
0 commit comments