antfu / retypewriter

Replay the steps of your changes at ease.
https://marketplace.visualstudio.com/items?itemName=antfu.retypewriter
MIT License
729 stars 12 forks source link

Snapshots not reset by deleting .retypewriter unless VSCode is restarted #3

Closed alesvaupotic closed 1 year ago

alesvaupotic commented 1 year ago

Describe the bug

While making snapshots, I delete the .retypewriter file and expect the next snapshot to start from scratch. It doesn't, it just continues with next step as if file was still present. It gets recreated and next snapshot added.

If I delete a .retypewriter file and restart VSCode, it works as expected.

Is this by design or just a flaw?

EDIT: moved video to reproduction

Reproduction

https://user-images.githubusercontent.com/1660347/194233352-72668ca5-e93f-41b3-92c3-a6a7bde1b295.mp4

System Info

System:
    OS: Windows 10 10.0.19043
    CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
    Memory: 1.20 GB / 7.90 GB
  Binaries:
    Node: 18.9.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 105.0.5195.127
    Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.34)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

pnpm

Validations

Animeshz commented 1 year ago

I can still reproduce this on v0.1.3 vscode extension... Currently using linux with vscode (code-oss) 1.73.1.

  System:
    OS: Linux 5.18 Void
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 639.99 MB / 7.56 GB
    Container: Yes
    Shell: 3.5.1 - /usr/bin/fish
  Binaries:
    Node: 16.15.1 - /usr/bin/node
    Yarn: 1.22.18 - /usr/bin/yarn
    npm: 8.11.0 - /usr/bin/npm
  Browsers:
    Chromium: 107.0.5304.87