Skip to content

Commit fbb04c5

Browse files
committed
removing unused reload blocks
1 parent be82b4f commit fbb04c5

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/PatternLab/Watcher.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -279,24 +279,11 @@ public function watch($options = array()) {
279279
// taking out the garbage. basically killing mustache after each run.
280280
if (gc_enabled()) gc_collect_cycles();
281281

282-
// output anything the reload server might send our way
283-
// DEPRECATED
284-
/*
285-
if ($reload) {
286-
$output = fgets($fp, 100);
287-
if ($output != "\n") print $output;
288-
}
289-
*/
290-
291282
// pause for .05 seconds to give the CPU a rest
292283
usleep(50000);
293284

294285
}
295286

296-
// close the auto-reload process, this shouldn't do anything
297-
// DEPRECATED
298-
// fclose($fp);
299-
300287
}
301288

302289
/**

0 commit comments

Comments
 (0)