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

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

Open
rabejens opened this issue Aug 27, 2024 · 0 comments
Open

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

rabejens opened this issue Aug 27, 2024 · 0 comments

Comments

@rabejens
Copy link

rabejens commented Aug 27, 2024

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!
@rabejens rabejens changed the title Hot reload does not work with Ionide and VSCode Hot reload does not work with Ionide and VSCode and with VS Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant