feat: 优化开发与生产模式端口管理及启动逻辑
- 更新开发模式说明,明确开发时需手动启动前端服务器并支持热重载,生产模式自动启动侧车二进制,优化端口管理策略并完善最佳实践文档。 - 根据开发模式自动切换端口检测逻辑,开发模式下直接连接本地3000端口并等待服务器就绪,生产模式下正常启动sidecar并扫描可用端口,提升开发体验和启动可靠性。 - 移除开发环境URL配置,使用默认的开发服务器地址
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
"identifier": "com.imbytecat.tauri-shell",
|
||||
"build": {
|
||||
"beforeDevCommand": "bun run dev:vite",
|
||||
"devUrl": "http://localhost:3000",
|
||||
"beforeBuildCommand": "bun run build"
|
||||
},
|
||||
"app": {
|
||||
|
||||
Reference in New Issue
Block a user