Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[browser-esbuild] live-reload=false workflow is less convenient now #27479

Open
undsoft opened this issue Apr 16, 2024 · 0 comments
Open

[browser-esbuild] live-reload=false workflow is less convenient now #27479

undsoft opened this issue Apr 16, 2024 · 0 comments

Comments

@undsoft
Copy link

undsoft commented Apr 16, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants