Skip to content

Commit cfe95fb

Browse files
committed
referencing the proper config variable
1 parent e6a6dd4 commit cfe95fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatternLab/Reload/PatternLabListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct() {
3434
*/
3535
public function addProcess(ProcessSpawnerEvent $event) {
3636

37-
if ((bool)Config::getOption("reload.on")) {
37+
if ((bool)Config::getOption("plugins.reload.enabled")) {
3838

3939
// only run this command if watch is going to be used
4040
if (Console::findCommand("w|watch") || Console::findCommandOption("with-watch")) {

0 commit comments

Comments
 (0)