# Live reload (design.md "Acceptance: live reload"): play a while, pause a # replay so State holds still, load the edited build ({v2}: orange smoke), check that # State carried over and the picture changed. move 480 200 frames 60 console record 0 frames 30 console stop console play 0 frames 10 console pause frames 2 expect clock.count 71 expect particles.len 51 expect particles.buffer[0].position[0] 452.977 ~0.001 expect particles.buffer[0].position[1] 210.788 ~0.001 screenshot .zig-cache/e2e/smoke-before.png frames 1 load {v2} expect clock.count 71 expect particles.len 51 expect particles.buffer[0].position[0] 452.977 ~0.001 expect particles.buffer[0].position[1] 210.788 ~0.001 frames 2 screenshot .zig-cache/e2e/smoke-after.png frames 1 expect-different-screenshot .zig-cache/e2e/smoke-before.png .zig-cache/e2e/smoke-after.png # Playing on after the reload: State goes on from where it was. console pause frames 10 expect clock.count 81 expect particles.buffer[0].position[0] 442.620 ~0.001 expect particles.buffer[0].position[1] 230.923 ~0.001