Not specific to BS
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
### HEAD
|
### HEAD
|
||||||
* Add option to configure Browsersync ([#1822](https://github.com/roots/sage/pull/1822))
|
* Add option to configure build settings ([#1822](https://github.com/roots/sage/pull/1822))
|
||||||
* Add support for HTML injection ([#1817](https://github.com/roots/sage/pull/1817))
|
* Add support for HTML injection ([#1817](https://github.com/roots/sage/pull/1817))
|
||||||
|
|
||||||
### 9.0.0-beta.2: January 19th, 2016
|
### 9.0.0-beta.2: January 19th, 2016
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
"Roots\\Sage\\PostCreateProject::updateHeaders",
|
"Roots\\Sage\\PostCreateProject::updateHeaders",
|
||||||
"Roots\\Sage\\PostCreateProject::selectFramework",
|
"Roots\\Sage\\PostCreateProject::selectFramework",
|
||||||
"Roots\\Sage\\PostCreateProject::addFontAwesome",
|
"Roots\\Sage\\PostCreateProject::addFontAwesome",
|
||||||
"Roots\\Sage\\PostCreateProject::configureBrowsersync"
|
"Roots\\Sage\\PostCreateProject::buildOptions"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,12 +99,12 @@ class PostCreateProject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function configureBrowsersync(Event $event)
|
public static function buildOptions(Event $event)
|
||||||
{
|
{
|
||||||
$io = $event->getIO();
|
$io = $event->getIO();
|
||||||
|
|
||||||
if ($io->isInteractive()) {
|
if ($io->isInteractive()) {
|
||||||
$io->write('<info>Configure Browsersync. Press enter key for default.</info>');
|
$io->write('<info>Configure build settings. Press enter key for default.</info>');
|
||||||
|
|
||||||
$browsersync_settings_default = [
|
$browsersync_settings_default = [
|
||||||
'publicPath' => '/app/themes/'.basename(getcwd()),
|
'publicPath' => '/app/themes/'.basename(getcwd()),
|
||||||
|
|||||||
Reference in New Issue
Block a user