From 04077a5cd312f0f867fb51ee216d745a2d0957d5 Mon Sep 17 00:00:00 2001 From: Owen Voorhees Date: Tue, 16 Dec 2025 18:28:37 -0800 Subject: [PATCH] Forward target change notifications to clients --- Sources/SwiftPMBuildServer/SwiftPMBuildServer.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/SwiftPMBuildServer/SwiftPMBuildServer.swift b/Sources/SwiftPMBuildServer/SwiftPMBuildServer.swift index 8997851d5af..a92c75d9858 100644 --- a/Sources/SwiftPMBuildServer/SwiftPMBuildServer.swift +++ b/Sources/SwiftPMBuildServer/SwiftPMBuildServer.swift @@ -165,6 +165,9 @@ public actor SwiftPMBuildServer: QueueBasedMessageHandler { case is OnBuildLogMessageNotification: // If we receive a build log message notification, forward it on to the client connectionToClient.send(notification) + case is OnBuildTargetDidChangeNotification: + // If the underlying server notifies us of target updates, forward the notification to the client + connectionToClient.send(notification) default: logToClient(.warning, "SwiftPM build server received unknown notification type: \(notification)") }