-
Notifications
You must be signed in to change notification settings - Fork 51
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
too many reloads, is my delay ignored? #55
Comments
What do you mean by "cancels the request"? Could you make an example repo with the issue? |
Same here |
open network panel in chromium and there you can see these cancelled requests. |
I got the same problem. |
If you could share an example repository with the problem, I'd be glad to take a look. |
I digged into it and found the problem. If you add the following configuration to your LiveReloadPlugin options it will trigger a reload for every file changed expecting css and image files:
The problem happens if you build multiple files in your webpack configuration:
This will create/renew the following assets at once and will trigger them as changed in webpack watch: Every single file will now trigger a file reload or page reload depending on the configuration. Currently i don't know a good solution. |
I found this issue for multiple files rebuilds so maybe the first solution will be fixing the multiple created files. |
#59 Should add the ablity to fix all problems by setting |
@web-mi please can you merge the change in webpack 5. |
@vishal9p Everything should already been merged into the latest version. |
@web-mi still i can see the issue i am using latest webpack 5 You mentioned there is one open PR which is for just sending changed files.please can you share it And for me i cannot use useSourceHash facing some other issue saying content and map not valid |
I think i mean the #33 but it should be required anymore. And could you try useSouceSize instead? |
@web-mi it worked with useSouceSize. |
You mean the changes from #33 are not present in 3.0.1? These changes are not required anymore because of the new options |
In 3.0.1 in index.js we are not seeing useSourceSize prop.but this is present in master.I think you need to publish a newer version |
Ahh sorry. You are right. The latest change not published. @statianzo Could you publish a new version with the latest changes? |
Released as 3.0.2 |
I've set a delay already
and
Still my browser tries to reload 30 times and cancels the request.
The text was updated successfully, but these errors were encountered: