[browser-esbuild] live-reload=false workflow is less convenient now
- 主要语言
- TypeScript
- 星标
- 27k
- 派生
- 11.8k
- 平均合并
- 14 小时 23 分钟
- 30 天内合并 PR
- 162
描述
### Command
serve
### Description
I often work with `live-reload` disabled. This is helpful when working on CSS changes, I can try things in browser and then make multiple edits in files before manually reloading.
It's also faster when working on a laptop.
Before esbuild:
1. Make changes.
2. Refresh page.
3. Page reloads after new changes have been compiled.
With esbuild:
1. Changes.
2. Refresh.
3. Page reloads immediately before changes have been compiled. Now I need to monitor terminal and reload the page after successful compilation.
### Describe the solution you'd like
I was okay with the old behaviour where server wouldn't respond before successful compilation.
A less desired alternative would be to log Vite messages in browser's console, so that I can tell when compilation has finished there.
### Describe alternatives you've considered
_No response_
贡献指南
调研方向
从 `serve` 命令的 `live-reload=false` 工作流开始,跟踪 esbuild 编译更改时浏览器请求的行为。重现刷新序列,然后验证刷新是否会等待编译成功,或者编译完成情况是否会显示在浏览器控制台中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- build-system, cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100