-
Notifications
You must be signed in to change notification settings - Fork 3
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
HotReload on linux with firefox #10
Comments
May be unrelated but I noticed this in the JS console:
|
This looks like the issue that happens with Microsoft.AspNetCore.Components.WebAssembly.Build 3.2.1. It should not be happening with the latest version of the template which forces v3.2.0. Can you check that you have the latest template with this command?
|
I ran this command and got 'No updates found'. I then repro'd using the initial steps and the same issue occurred. I tried on Windows 10 PC just now and everything works fine. maybe there is some flag to filesystemwatcher thats needed for linux?
|
I tested with the below, and it seems to work. After seeing this comment https://github.com/dotnet/corefxlab/blob/master/src/System.IO.FileSystem.Watcher.Polling/System/IO/PollingFileSystemWatcher.cs#L16 dotnet add package System.IO.FileSystem.Watcher.Polling --version 0.1.2-e200127-1 --source https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json then
|
Ah, this is a good catch, thanks for investigating this issue! |
@Tarmil no problem, I wanted to learn webdev anyway :D. I think the issue will be how this is fixed, its not ideal to rely on myget packages (they can suddenly disappear), and its also tricky for users to compile the fixes themselves (as it causes dev time issues with type provider). We might be able to ask corefxlab team to publish System.IO.FileSystem.Watcher.Polling to nuget, but I don't know how likely that is (@cartermp would probably know!) Other option is to implement a polling watcher ourselves, but this area is not trivial. |
Unfortunately I'm not sure when they would do that. i'd create an issue on their repo, though |
Hot reloading doesn't seem to work. What am I missing?
Steps to repro:
Additionally:
System info:
Browser: FF 79.0 64 bit.
.NET Core SDK: 3.1.302
OS: Debian 10
The text was updated successfully, but these errors were encountered: