private static void BootstrapsApplicationFilesChanged(object sender, FileSystemEventArgs e)
{
logger.Info("A change was detected in '{0}'. Shutting down.", e.FullPath);
lock (Locker)
{
if (bootstraps != null)
{
bootstraps.Pushdown(false);
bootstraps.Dispose();
bootstraps = null;
}
}
logger.Info("Re-starting the application at '{0}'.", options.ApplicationPath);
PullupBootstraps();
}