docz icon indicating copy to clipboard operation
docz copied to clipboard

Hot reloading not working

Open grug opened this issue 4 years ago • 1 comments

Bug Report

Describe the bug

Currently, with the latest version of Docz, hot reloading is not working at all.

To Reproduce

Create a new Docz project, load it up, make a file change and observe that the browser doesn't refresh with updated content.

Expected behavior

When one makes file changes, hot reloading causes the browser to refresh with new content.

Environment

  • docz version: 2.3.1
  • OS: Ubuntu
  • Node/npm version: node 14.15.3, npm 6.14.9

grug avatar Oct 08 '21 13:10 grug

I believe I'm having the same issue with macOS, same Docz version, and Node 14.18.3. From the browser console it appears that changes are detected, but the components aren't updating visually. Sample console output:

[HMR] connected                                                           client.js:241
[HMR] bundle rebuilding                                                   client.js:250
[HMR] bundle rebuilt in 428ms                                             process-update.js:51
[HMR] Checking for updates on the server...                               process-update.js:125
[HMR] Updated modules:                                                    process-update.js:127
[HMR]  - ../src/component-docs/OpenApiForm.mdx                            process-update.js:127
[HMR]  - ./.cache/_this_is_virtual_fs_path_/$virtual/sync-requires.js     process-update.js:132
[HMR] App is up to date.

tannerntannern avatar Feb 04 '22 19:02 tannerntannern