bug: (reopen #2560) Readme changes in watch mode don't trigger docs-json
Prerequisites
- [X] I have read the Contributing Guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have searched for existing issues that already report this problem, without success.
Stencil Version
2.17.4
Current Behavior
Similar to https://github.com/ionic-team/stencil/issues/1822#issuecomment-636132747 and #2560 I am experiencing the same problem in v2.17.4
Expected Behavior
Whenever I update the readme file the json file should update.
Steps to Reproduce
- Create new project using the starter template
- Enable docs-json
- stencil build --dev --watch --docs
- Update readme
- Update usage
- Observe no change
Code Reproduction URL
https://github.com/seanwuapps/stencil-docs-json-watch-bug
Additional Information
No response
@seanwuapps Thanks for logging this issue and providing a reproduction repo and steps! Also, thanks for linking some older issues related to this same problem, it's unfortunate to see this is still an issue. I was able to confirm in your reproduction, so I'll get this labeled for our team to take a look at! Thanks again!
i stuck now in the same situation. i need the docs-json for storybook docs and in dev-mode it isn't possible to generate the docs-json.
its only possible to run stencil build --docs-json docs.json before stencil build --dev --watch to get the infos in dev-mode.
is it possible to get this fixxed?
cheers
Watching this one intently 🙏 👀 as I just ran into it again, thanks @seanwuapps for keeping up with it!