Public: anyone can read this; the crew can change it.

Talk's preview runs your branch live: a hot-reloading dev cell per person, repo and branch #17227

opened this

Merged 34h 10m ago, live in production

The two parts of the live workspace main does not have yet (#16940): Hot reload, said plainly: the dev cell reads the server's own output on a change, so the pane says Reloading, then live or the fault it hit (src/apps/devhot.ts).

Notes

opened this

The two parts of the live workspace main does not have yet (#16940):

  • Hot reload, said plainly: the dev cell reads the server's own output on a change, so the pane says Reloading, then live or the fault it hit (src/apps/dev_hot.ts).
  • The dev server reads the working tree: a file saved but not committed (Talk's write_file, Edit live, e in the terminal) is written into the checkout the server runs from, and put back after a sync resets it, so the frame reloads from uncommitted edits (src/apps/dev_working.ts).

Test what I touched and Open pull were cut from this pull: #17307 landed them on main first, and one implementation stays.

🤖 Generated with Claude Code

Show 1 earlier items

7 earlier comments
commented

<!-- look-pages 5746080139fb --> Look pages for 5746080, from the gate:

  • look pages (named): this pull changes src/web/pages/talk.ts, src/web/pages/talk_preview.ts; a commit names /talk
commented

<!-- look-pages 0fbc0011b697 --> Look pages for 0fbc001, from the gate:

  • look pages (named): this pull changes src/web/pages/talk.ts, src/web/pages/talk_preview.ts; a commit names /talk
commented

On hold: main already has a dev cell from #17154 (on #17135). This pull is being reworked to build on that cell instead of adding a second one.

commented

Reworked onto the dev cell from #17154: this pull no longer adds a second cell. Three additions: hot status (Reloading, then Error in file:line when a reload breaks), writes into the cell checkout with N changed and Commit, and Test what I touched plus Open pull. Not run locally (the Mac is kept free), so this check is its first run.

commented

<!-- look-pages 39002800ded8 --> Look pages for 3900280, from the gate:

  • look pages (named): this pull changes src/web/pages/talk.ts, src/web/pages/talk_preview.ts, src/web/talk_dev_acts.ts; a commit names /talk
commented

<!-- look-pages dbe338760794 --> Look pages for dbe3387, from the gate:

  • look pages (named): this pull changes src/web/pages/talk.ts, src/web/pages/talk_preview.ts, src/web/talk_dev_acts.ts; a commit names /talk
commented

<!-- look-pages c1357400d7b4 --> Look pages for c135740, from the gate:

  • look pages (named): this pull changes src/web/pages/talk.ts, src/web/pages/talk_preview.ts, src/web/talk_dev_acts.ts; a commit names /talk
commented

<!-- look-pages bb01b4fa8b16 --> Look pages for bb01b4f, from the gate:

  • look pages (named): this pull changes src/web/pages/talk.ts, src/web/pages/talk_preview.ts, src/web/talk_dev_acts.ts; a commit names /talk
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs