sindresorhus/grunt-php — pull request #25 by robhuzzey (2014-03-22 20:13:57+00:00)
Title: PHP blocking & not allowing next grunt task

Hey,

This is probably the worst pull request I have done as I've basically just deleted a load of the code to make this work however you may like it ;)

Basically, the checkServer function was preventing the php from going to the background as expected with spawn.

From what I could see, it never reached the 'checkServerTries' limit on line 23, I only managed to get it iterate 8 times maximum till it hung.

I hope this helps.... I will probably take another look at a solution if you really need 'check server' however I figured it was unnecessary.

Let me know.