Install yarn add -g nodemon
yarn add -g nodemon
run nodemon --exec "yarn build" --watch packages/chakra-components/src --ignore dist/ and keep it running.
nodemon --exec "yarn build" --watch packages/chakra-components/src --ignore dist/
At last run yarn docs that will open the docs
yarn docs
open http://localhost:3000 to access the docs
http://localhost:3000