From ed6142f00d33d83be0bad46021785094417ec0b0 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 30 Jan 2026 03:09:26 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DTenantApi=20watch?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E7=AB=AF=E5=8F=A3=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/watch-tenantapi-forlinux.sh | 2 +- scripts/watch-tenantapi.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/watch-tenantapi-forlinux.sh b/scripts/watch-tenantapi-forlinux.sh index 58bb4de..ae0b653 100755 --- a/scripts/watch-tenantapi-forlinux.sh +++ b/scripts/watch-tenantapi-forlinux.sh @@ -73,7 +73,7 @@ docker run -d --name "${container_name}" \ -e DOTNET_USE_POLLING_FILE_WATCHER=1 \ -e DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER=1 \ "${sdk_image}" \ - dotnet watch --project "${project_path}" run + dotnet watch --project "${project_path}" run --no-launch-profile echo "已启动。查看日志:docker logs -f ${container_name}" echo "Swagger:http://localhost:${host_port}/api/docs (兼容入口 /swagger)" diff --git a/scripts/watch-tenantapi.ps1 b/scripts/watch-tenantapi.ps1 index 240e7a9..37833e5 100644 --- a/scripts/watch-tenantapi.ps1 +++ b/scripts/watch-tenantapi.ps1 @@ -101,7 +101,7 @@ docker run -d --name $containerName @runArgs ` -e "DOTNET_USE_POLLING_FILE_WATCHER=1" ` -e "DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER=1" ` $sdkImage ` - dotnet watch --project $projectPath run + dotnet watch --project $projectPath run --no-launch-profile Write-Host "已启动。查看日志:docker logs -f $containerName" Write-Host "Swagger:http://localhost:$hostPort/api/docs (兼容入口 /swagger)"