All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.3.3 - 2019-09-03
- The server checking callback was not executed always
1.3.2 - 2019-09-02
- 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.
1.3.1 - 2018-03-07
- The
env
option merges the environment variables with the existing ones, instead replace the entire object.
1.3.0 - 2018-03-07
- Static function
PHPServer.start()
as a shortcut tonew PHPServer().run()
. - The callback / promise have the
PHPServer
instance as first argument
1.2.1 - 2018-01-02
- Reorder script and other cli options because the script must be declared after the options. (This commit was reverted accidentally in 1.2.0, it's included now).
1.2.0 - 2017-12-29
- New option
stdio
to configure the stdio passed to the spawned process.
- If no callback is passed, the
run()
method returns a promise that resolves when the PHP server is up and running.
- Reorder script and other cli options because the script must be declared after the options.
1.1.0 - 2017-12-18
- The function
run()
accepts a callback as first argument, executed when the server is started. - New option
env
to pass environment variables to the child process.
- Use
127.0.0.1
insteadlocalhost
as default host.
First version with basic features.