In the starred video, it looked like the script editing was happening inside the game's process. That way, it already has the text of the script available in-memory, and knows that it only has to re-compile it when changes are made (and it knows when changes are made because it's handling the keypresses).