gruntjs/grunt-lib-phantomjs — pull request #46 by ssafejava (2013-10-23 03:48:20+00:00)
Title: Kill spawned phantomjs process on cleanup().

(Migrated from #45)

When running grunt-contrib-jasmine, which requires this lib, I've had issues with Phantom processes hanging after exit and displaying a "A script on this page appears to have a problem..." dialog.

This PR simply terminates phantom explicitly on cleanup.