Skip to content

Hot reload does not work with Ionide and VSCode and with VS #359

@rabejens

Description

@rabejens

When running the Server app from VSCode through Ionide, Hot Reload does not work, in fact, even restarting the app doesn't respect the changes. I have to click the Stop button and click the Debug default project to have the changes reflected.

Steps to reproduce:

  1. Install latest Bolero templates
    dotnet new -i Bolero.Templates::0.24.8-beta
    
  2. Create a new app with Nightly dependencies and InteractiveAuto RenderMode
    dotnet new bolero-app --name BoleroTestNightly -r InteractiveAuto -m -ni
    
  3. code BoleroTestNightly
  4. Open Ionide F# Solution Explorer
  5. Click Debug default project button, select the Server project
  6. Open the site in your browser to see Hello World
  7. Change p { "Hello world" } to something else
  8. Save the project
  9. Refresh the page

Expected: I see the change
Actual: I still see Hello world

Followup

With normal Visual Studio, it doesn't work either.

The log contains:

info: Bolero.Templating.Client.SignalRClient[0]
      Hot reload connected!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions