Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: update preview when referenced component changes #5

Closed
allforabit opened this issue Apr 27, 2019 · 4 comments
Closed

Comments

@allforabit
Copy link

Currently the preview only seems to update when the actual mdx file is updated. It would be nice however if it updated when the component or components that it references is updated. The use case is to use it as a way to preview components under development and visually see the changes conveniently in the editor alongside the code.

Thanks for the great extension!

@xyc
Copy link
Owner

xyc commented Apr 28, 2019

Yes that's definitely considered and I'd love to have that as well! I have a working branch that's hopefully get released along with TypeScript support. In the mean time, I've added a refresh button when you focus on the preview. Thanks!

@xyc xyc mentioned this issue Apr 29, 2019
@allforabit
Copy link
Author

Great thanks for this. I'll give this branch a test when I get a chance.

@xyc
Copy link
Owner

xyc commented Apr 30, 2019

😊sneak peek! Releasing this soonish
hot-reload

@xyc
Copy link
Owner

xyc commented May 7, 2019

Released in v0.2.0

@xyc xyc closed this as completed May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants