Skip to content

Commit 9841bb7

Browse files
committed
bugfix
1 parent e5a8974 commit 9841bb7

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [1.3.3] - 2019-09-03
9+
### Fixed
10+
- The server checking callback was not executed always
11+
812
## [1.3.2] - 2019-09-02
913
### Fixed
1014
- Any error returned by the server initialization checking retry a new checking. Now only the error `ECONNREFUSED` makes a new attempt, to avoid infinite loop.

Diff for: index.js

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ function checkServer(host, port, cb) {
111111
if (err.code === 'ECONNREFUSED') {
112112
console.error('PHP server not started. Retrying...');
113113
setTimeout(runCheck, 100);
114+
} else {
115+
cb();
114116
}
115117
})
116118
.end();

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "php-server-manager",
3-
"version": "1.3.2",
3+
"version": "1.3.3",
44
"description": "Manage PHP built-in servers in node",
55
"main": "index.js",
66
"author": "Oscar Otero",

0 commit comments

Comments
 (0)