# Live reload (design.md "Acceptance: live reload"): play a while, pause a # replay so State holds still, load the edited build ({v2}: a red attractor), # check that State carried over and the picture changed where the edit shows. frames 120 console record 0 frames 30 console stop console play 0 frames 10 console pause frames 2 expect movers[0].position[0] 243.076 ~0.001 expect movers[0].angle -2.41708 ~0.001 expect clock.count 130 screenshot .zig-cache/e2e/angular_forces-before.png frames 1 load {v2} expect movers[0].position[0] 243.076 ~0.001 expect movers[0].angle -2.41708 ~0.001 expect clock.count 130 frames 2 screenshot .zig-cache/e2e/angular_forces-after.png frames 1 expect-different-screenshot .zig-cache/e2e/angular_forces-before.png .zig-cache/e2e/angular_forces-after.png 300 160 40 40 # Playing on after the reload: State goes on from where it was. console pause frames 10 expect movers[0].position[0] 237.003 ~0.001 expect movers[0].angle -1.41708 ~0.001 expect clock.count 140