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 reloading is not working on windows docker desktop #76

Open
rajeshpatil74 opened this issue Mar 9, 2022 · 2 comments
Open

Hot reloading is not working on windows docker desktop #76

rajeshpatil74 opened this issue Mar 9, 2022 · 2 comments

Comments

@rajeshpatil74
Copy link

rajeshpatil74 commented Mar 9, 2022

I am using docker image from - https://hub.docker.com/r/waldekm/spfx/tags and with latest image on windows docker desktop , hot reloading is not working (changing code doesnt refresh the webpart in browser)
Issues are -

  1. The webpart is not getting loaded using localhost. - 1.13.1 not supporting localhost. So its fine.
  2. Webpart gets loaded on sharepoint site workbench, but with manual refresh changes are not reflected.

With docker image 18 months old (docker pull waldekm/spfx:1.11.0.) this was working.

  • Webpart gets loaded in localhost and changes loads it automatically.
  • On sharepoint site, manual refresh is needed. --> this should work with latest docker image. As of now one need to terminate gulp command and reissue it.

Even tried this link - https://spblog.net/post/2020/12/22/sharepoint-framework-with-eslint.
Whenever code changed recompile not gets triggered and page will have old content.

@necik11
Copy link

necik11 commented Mar 16, 2022

I don't know if I understood correctly and maybe it's a stupid question, but did I try to wait a while longer? 😄
I wrote about it here:
#70 (comment)
"I think the change took effect and after: Finished subtask 'webpack' after 28 s"
And only after this will the reload be called automatically ...
If I misunderstood, I apologize :)

@shurick81
Copy link
Contributor

Is this a duplicate of #69?

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

3 participants