👩💻 Running Docusaurus Locally
Run in development
Once you start your site, you should see changes as you save (no need to reload manually)
npm start
But sometimes we don't see our changes, or some error appears (esp when deleting folder with docs in the docs folder)
To fix this, stop docusaurus and restart it ¯\_(ツ)_/¯
Search
The Offline / Local plugin is installed to provide search. It only works on production builds, won't work while we're running the development build.
To test the search plugin locally you need to generate a production build, then serve it:
npm run docusaurus build
npm run docusaurus serve