I see people here saying to touch tmp/restart.txt to restart a rails sever, but I am interested to know how this actually works. restart.txt is an empty file in the tmp folder, so how does Rails know to restart the server when you touch the file? I.e. where is the code that allows this feature to work, since it's not in restart.txt?