Closed aik099 closed 8 years ago
See https://github.com/minkphp/MinkZombieDriver/issues/161 for my proposal to solve it in a much better way (the case of a running server still need to be prevented even in my proposal)
Agreed that creating ENV-based server instead of PHP variable patching is better way.
The
Behat\Mink\Driver\NodeJS\Server::createTemporaryServer
uses following options of the server:Currently on change of
nodeModulesPath
causes temporary server code to be regenerated.Propose to regenerate temporary server code also on
host
andport
option change.Separate issue (see #157) is created to prevent calling these methods on already running server, that would have no effect.