Skip to content

Commit 8b76cc9

Browse files
committed
add a method to reload options after writing the option to disk
1 parent 28ff4ba commit 8b76cc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PatternLab/Config.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ protected static function writeUpdateConfigOption($optionName,$optionValue) {
376376
$options[$optionName] = $optionValue;
377377
}
378378

379+
// reload the options
380+
self::loadOptions($options);
381+
379382
// dump the YAML
380383
$configOutput = Yaml::dump($options, 3);
381384

0 commit comments

Comments
 (0)