public function addProcess(ProcessSpawnerEvent $event) {
    
    if ((bool)Config::getOption("plugins.reload.enabled")) {
      
      // only run this command if watch is going to be used
      if (Console::findCommand("w|watch") || Console::findCommandOption("with-watch")) {
        
        // set-up the command
        $pathPHP      = Console::getPathPHP();
        $pathReload   = __DIR__."/AutoReloadServer.php";
        $command      = "exec ".$pathPHP." ".$pathReload;
        
        // send the processes on their way
        $processes     = array();
        $processes[]   = array("command" => $command, "timeout" => null, "idle" => 600, "output" => false);
        $event->addPluginProcesses($processes);
        
      }
      
    }
    
  }