Add a --navigate-to-changed flag to "docusaurus start".
under review
G
Geoffrey Hunter
This should make the browser automatically navigate to the route when a content page changes. Hugo has this command and it's great when you have a large site, it makes it so you can quickly edit a markdown file and view the changes without having to navigate to the page within the browser.
High-level steps:
- Watch for file changes within the project root directory (and sub-directories).
- On file change, work out if the file is a content file that corresponds to a specific route.
- If it does, make the browser navigate to this page.
Joshua Chen
under review