JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

Fix file as soon as it's parsed, not after program ends #124

Open JoshCheek opened 6 years ago

JoshCheek commented 6 years ago

When code takes a long time to run, the file is sitting there in the rewritten state. What about putting the old file back into place as soon as the first value is recorded? That implies Ruby has parsed the file already, so we should be good to set it back at that time. This should hopefully improve the flicker when running saved files.