This repository was archived by the owner on Feb 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT.
22
3+ PL-v0.3.6
4+ - FIX: added a delay to the watcher so the CPU doesn't get maxed
5+ - THX: thanks to martin berglund for the heads up
6+
37PL-v0.3.5
48 - ADD: an explicit MIT license
59 - FIX: updated .gitignore so that it's more flexible
Original file line number Diff line number Diff line change 11<?php
22
33/*!
4- * Pattern Lab Builder CLI - v0.3.5
4+ * Pattern Lab Builder CLI - v0.3.6
55 *
66 * Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77 * Licensed under the MIT license
Original file line number Diff line number Diff line change 11<?php
22
33/*!
4- * Pattern Lab Builder Class - v0.3.5
4+ * Pattern Lab Builder Class - v0.3.6
55 *
66 * Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77 * Licensed under the MIT license
Original file line number Diff line number Diff line change 11<?php
22
33/*!
4- * Pattern Lab Generator Class - v0.3.5
4+ * Pattern Lab Generator Class - v0.3.6
55 *
66 * Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77 * Licensed under the MIT license
Original file line number Diff line number Diff line change 11<?php
22
33/*!
4- * Pattern Lab Watcher Class - v0.3.5
4+ * Pattern Lab Watcher Class - v0.3.6
55 *
66 * Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77 * Licensed under the MIT license
@@ -198,6 +198,9 @@ public function watch() {
198198 unset($ this ->msf );
199199 if (gc_enabled ()) gc_collect_cycles ();
200200
201+ // pause for .05 seconds to give the CPU a rest
202+ usleep (50000 );
203+
201204 }
202205
203206 }
You can’t perform that action at this time.
0 commit comments