Skip to content

Commit 6b1a81b

Browse files
authored
Merge pull request swiftlang#156 from benlangmuir/listen
[index] Fix default value for listening to unit changes
2 parents f99bc4d + 89b95f5 commit 6b1a81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SourceKit/Workspace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public struct IndexOptions {
118118
/// explicit calls to pollForUnitChangesAndWait().
119119
public var listenToUnitEvents: Bool
120120

121-
public init(listenToUnitEvents: Bool = false) {
121+
public init(listenToUnitEvents: Bool = true) {
122122
self.listenToUnitEvents = listenToUnitEvents
123123
}
124124
}

0 commit comments

Comments
 (0)