File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Sources/BuildSystemIntegration Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -764,8 +764,10 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
764764 }
765765
766766 package func didChangeWatchedFiles( notification: OnWatchedFilesDidChangeNotification ) async {
767- if notification. changes. contains ( where: { self . fileEventShouldTriggerPackageReload ( event: $0) } ) {
768- logger. log ( " Reloading package because of file change " )
767+ if let packageReloadTriggerEvent = notification. changes. first ( where: {
768+ self . fileEventShouldTriggerPackageReload ( event: $0)
769+ } ) {
770+ logger. log ( " Reloading package because \( packageReloadTriggerEvent. uri. forLogging) changed " )
769771 await packageLoadingQueue. async {
770772 await orLog ( " Reloading package " ) {
771773 try await self . reloadPackageAssumingOnPackageLoadingQueue ( )
You can’t perform that action at this time.
0 commit comments