ensure that we only copy files when running restarting the app, not every time a rake task is run (especially since some rake tasks get run as root!)