stackblitz / bolt.new

Prompt, run, edit, and deploy full-stack web applications
https://bolt.new
MIT License
3.25k stars 404 forks source link

After applying changes to a code, preview does not work #68

Open joe-shenouda opened 3 days ago

joe-shenouda commented 3 days ago

Describe the bug

When you create something on bolt initially, it perfectly shows the preview of it afterwards. When you respond to make changes, it makes these changes, but preview after that is problematic.

Link to the Bolt URL that caused the error

general

Steps to reproduce

Create something - preview should be working afterwards - ask for changes - see if it presents Preview like it initially did (the problem should be here)

Expected behavior

Previews should always load after a change or a followup. Previews should load correctly to show the new changes to the user.

Screen Recording / Screenshot

No response

Platform

Additional context

No response

Nemikolh commented 1 day ago

Hey @joe-shenouda, do you think you could provide more details?

Bolt uses templates to make the experience smoother and I'm wondering if the issue is that it didn't pick something like vite which supports HMR (hot module reloading) where previews get automatically refreshed after making changes.

Could you maybe share some screenshots of your project?