From 27b3f338e90ceebcbfa8e5d4ffad3deff8a9360e Mon Sep 17 00:00:00 2001 From: Tobias Munk Date: Mon, 3 Jun 2013 16:22:59 +0200 Subject: [PATCH] added TODO --- src/Composer/Command/CreateProjectCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Composer/Command/CreateProjectCommand.php b/src/Composer/Command/CreateProjectCommand.php index 228df2c11..7849c317d 100644 --- a/src/Composer/Command/CreateProjectCommand.php +++ b/src/Composer/Command/CreateProjectCommand.php @@ -207,8 +207,9 @@ EOT } if ($noScripts === false) { - // dispatch event + // TODO: improve autoloader refreshing require($this->getComposer()->getConfig()->get('vendor-dir').'/autoload.php'); + // dispatch event $this->getComposer()->getEventDispatcher()->dispatchCommandEvent(ScriptEvents::POST_CREATE_PROJECT_CMD, $installDevPackages); }