diff --git a/HttpServer/Command.php b/HttpServer/Command.php index 098e3385..7cefe5e1 100644 --- a/HttpServer/Command.php +++ b/HttpServer/Command.php @@ -40,8 +40,6 @@ class Command extends \Console\Command return 'I don\'t know what I want to do.'; } - exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder'); - /** @var Shutdown $shutdown */ $shutdown = Snowflake::app()->get('shutdown'); if ($shutdown->isRunning() && $dtl->get('action') == 'start') { diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 7a8f93a6..9bc5351d 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -46,6 +46,7 @@ class ServerInotify extends Process $this->inotify = inotify_init(); $this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE; } + exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder'); }