srcbookdev / srcbook

TypeScript-centric app development platform
https://srcbook.com
Apache License 2.0
2.58k stars 101 forks source link

Update files from backend #423

Closed nichochar closed 4 weeks ago

nichochar commented 4 weeks ago

The backend now has a writeFile function (which we should use most of the time) which also broadcasts the update to the frontend.

This fixes the bug with undo/redo not updating files live in the client.

This also lays the ground for version switching, coming later

CleanShot 2024-10-24 at 12 41 24