5 ms·
I was impressed by the Time Travel. If I delete a file through there, and "go back in time" would the files would still be there?
by anotherangrydev 11y ago
I was impressed by the Time Travel.
If I delete a file through there, and "go back in time" would the files would still be there?
- boucher 11y agoYup. The time travel stuff is somewhat transparent and hard to talk about. If you think of the document as a .js file, than it is pretty easy to reason about what will happen. Things are just executed in order. The magic is that we don't have to re-execute a bunch of stuff every time just to get to your actual change.
- anotherangrydev 11y agoDo you override 'require('fs')' or do you do some magic at the OS level ?
- boucher 11y agoWe use docker pretty extensively, and so between each code cell we can evaluate the layered filesystem docker provides for changes and save them.
- anotherangrydev 11y agoGood, thanks.
- nailer 11y ago> The time travel stuff is somewhat transparent and hard to talk about. Wouldn't that mean it's opaque, since we can't see see into it? PS. That's picky. This is a rad project and I love the time travel & the 'requiring packages automatically installing them' feature too.