Skip to content

Commit 7440cb5

Browse files
committed
hardcoding watch starterkit for now
1 parent 2961c04 commit 7440cb5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/PatternLab/Watcher.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,20 +327,19 @@ private function updateSite($fileName,$message,$verbose = true) {
327327
public function watchStarterKit() {
328328

329329
// double-checks options was properly set
330-
$starterKit = Config::getOption("starterKit");
330+
/*$starterKit = Config::getOption("starterKit");
331331
if (!$starterKit) {
332332
Console::writeError("need to have a starterkit set in the config...");
333-
}
333+
}*/
334334

335335
// set-up the full starterkit path
336-
$starterKitPath = Config::getOption("packagesDir").DIRECTORY_SEPARATOR.$starterKit.DIRECTORY_SEPARATOR."dist";
336+
$starterKitPath = Config::getOption("baseDir")."vendor/pattern-lab/starterkit-mustache-demo/dist";
337337
if (!is_dir($starterKitPath)) {
338338
Console::writeError("the starterkit doesn't seem to exist...");
339339
}
340340

341341
// default vars
342342
$sourceDir = Config::getOption("sourceDir");
343-
$packagesDir = Config::getOption("packagesDir");
344343

345344
$fs = new Filesystem();
346345

0 commit comments

Comments
 (0)