You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Reloading browser is not working when openapi-cli is installed globally.
To Reproduce
Steps to reproduce the behavior:
Install openapi-cli globally
Open any specs files using preview-docs command openapi preview-docs openapi.yaml
Open the browser
Change anything in the spec file
Browser does not reload
Expected behavior
The browser should reload content when the file is edited.
Logs
Browser cannot load simplewebsocket.min.js and hot.js
openapi-cli Version(s)
1.0.0-beta.80
Node.js Version(s)
16.13.2
Additional context
After checking out, it seems that this recently introduced change is preventing the loading of the hot.js and simplewebsocket.min.js
Commenting out this specific code in the /lib folder resolves the issue.
The text was updated successfully, but these errors were encountered:
nbourguig
changed the title
preview-docs reload not working
preview-docs reload is not working anymore
Jan 28, 2022
Describe the bug
Reloading browser is not working when openapi-cli is installed globally.
To Reproduce
Steps to reproduce the behavior:
openapi preview-docs openapi.yaml
Expected behavior
The browser should reload content when the file is edited.
Logs
Browser cannot load
simplewebsocket.min.js
andhot.js
openapi-cli
Version(s)1.0.0-beta.80
Node.js
Version(s)16.13.2
Additional context
After checking out, it seems that this recently introduced change is preventing the loading of the
hot.js
andsimplewebsocket.min.js
Commenting out this specific code in the /lib folder resolves the issue.
The text was updated successfully, but these errors were encountered: