It doesn't. It watches for new files and keeps track of them while it's running.
For Example: If you have FW set to process shows after the recording finishes, and you restart FW in the middle of a recording, it won't process that show when it finishes recording, because it "forgot" the file was newly created.