Skip to content

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

Open
@undsoft

Description

@undsoft

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions