Skip to content

Commit 80703d4

Browse files
committed
renaming --noprocs to --no-procs
1 parent 19b7682 commit 80703d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PatternLab/Console/Commands/ServerCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function run() {
6363
// get the watch command info
6464
if (Console::findCommandOption("with-watch")) {
6565
$watchCommand = new WatchCommand;
66-
$commands[] = array("command" => $watchCommand->build()." --noprocs", "timeout" => null, "idle" => 600);
66+
$commands[] = array("command" => $watchCommand->build()." --no-procs", "timeout" => null, "idle" => 600);
6767
}
6868

6969
Console::writeInfo("server started on http://".$host." - use ctrl+c to exit...");

src/PatternLab/Console/Commands/WatchCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct() {
3030
Console::setCommandOption($this->command,"patternsonly","Watches only the patterns. Does NOT clean <path>public/</path>.","To watch and generate only the patterns:","p");
3131
Console::setCommandOption($this->command,"nocache","Set the cacheBuster value to 0.","To watch and turn off the cache buster:","n");
3232
Console::setCommandOption($this->command,"sk","Watch for changes to the StarterKit and copy to <path>source/</path>. The <info>--sk</info> flag should only be used if one is actively developing a StarterKit.","To watch for changes to the StarterKit:");
33-
Console::setCommandOption($this->command,"noprocs","Disable plug-in related processes. For use with <info>--server --with-watch</info>.","To disable plug-in related processes:");
33+
Console::setCommandOption($this->command,"no-procs","Disable plug-in related processes. For use with <info>--server --with-watch</info>.","To disable plug-in related processes:");
3434
Console::setCommandSample($this->command,"To watch only patterns and turn off the cache buster:","--patternsonly --nocache");
3535
//Console::setCommandOption($this->command,"autoreload","Turn on the auto-reload service.","To turn on auto-reload:","r");
3636

@@ -56,7 +56,7 @@ public function run() {
5656
} else {
5757

5858
// collect any processes that might be related to watch (e.g. reload). spawn them.
59-
if (!Console::findCommandOption("noprocs")) {
59+
if (!Console::findCommandOption("no-procs")) {
6060
$process = new ProcessSpawner;
6161
$process->run();
6262
}

0 commit comments

Comments
 (0)