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
Docusaurus provides hot-reload through Webpack. In redocusaurus, this is implemented through docusaurus-plugin-redoc where getPathsToWatch() returns the absolute pathname to the spec file.
However, this only provides hot-reload to the main spec file, and not other referenced files.
I propose that we scan the refs and include them in the getPathsToWatch() so that hot reload can be properly implemented for referenced files loaded in Docusaurus.
The text was updated successfully, but these errors were encountered:
Please correct me if I'm wrong:
OpenAPI 3.0 supports breaking down the main spec file into smaller files through the use of
$ref
. In fact, Redoc supports the use of$ref: ./intro.md
to import Markdown content intodescription
fields.Docusaurus provides hot-reload through Webpack. In redocusaurus, this is implemented through
docusaurus-plugin-redoc
wheregetPathsToWatch()
returns the absolute pathname to the spec file.However, this only provides hot-reload to the main spec file, and not other referenced files.
I propose that we scan the refs and include them in the
getPathsToWatch()
so that hot reload can be properly implemented for referenced files loaded in Docusaurus.The text was updated successfully, but these errors were encountered: