Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 81d5f58

Browse files
committed
Merge branch 'release-0.3.6' into dev
Conflicts: CHANGELOG
2 parents 86abdb1 + 1b24b41 commit 81d5f58

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ PL-v0.6.0 (in progress)
1818
- THX: thanks to @benedfit for the MQ idea which he originally named "phases"
1919
- THX: thanks to @alienlebarge for the "clean public/" idea
2020

21+
PL-v0.3.6
22+
- FIX: added a delay to the watcher so the CPU doesn't get maxed
23+
- THX: thanks to martin berglund for the heads up
24+
2125
PL-v0.3.5
2226
- ADD: an explicit MIT license
2327
- FIX: updated .gitignore so that it's more flexible

builder/builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

builder/lib/builder.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

builder/lib/generator.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

builder/lib/watcher.lib.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
@@ -210,6 +210,9 @@ public function watch() {
210210
unset($this->msf);
211211
if (gc_enabled()) gc_collect_cycles();
212212

213+
// pause for .05 seconds to give the CPU a rest
214+
usleep(50000);
215+
213216
}
214217

215218
}

0 commit comments

Comments
 (0)