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

jsonToHtml makes Vite build --watch stuck #23

Closed
marcoborsoi opened this issue Apr 8, 2023 · 2 comments
Closed

jsonToHtml makes Vite build --watch stuck #23

marcoborsoi opened this issue Apr 8, 2023 · 2 comments
Assignees

Comments

@marcoborsoi
Copy link

Using jsonToHtml makes vite build --watch stuck

Reproduction

https://stackblitz.com/edit/vitejs-vite-jxfzwy?file=src/index.ts

Steps to reproduce

  1. npm run dev
  2. Modify the string inside console.log and save
  3. Uncomment the code containing jsonToHtml and save
  4. Modify the string inside console.log again and save

Packages versions

@contentstack/json-rte-serializer:  2.0.2
typescript: 4.9.3
vite: 4.2.1
@marcoborsoi
Copy link
Author

marcoborsoi commented Apr 9, 2023

According to a @vitejs core team member, It looks like a regression from vitejs/vite#11919

A PR was created to address the issue: vitejs/vite#12797

@Jayesh2812
Copy link
Contributor

Hey @marcoborsoi, I checked the project link shared, the build does get stuck, but upgrading to the latest version solves the issue.

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

4 participants