Running an on-demand PHP server with BrowserSync and Grunt/Gulp
Read OriginalThis article explains how to run a real, on-demand PHP server (using PHP 5.4+'s built-in server) within a Grunt or Gulp build process. It details the setup using `grunt-php` and `gulp-connect-php` and then demonstrates how to integrate BrowserSync to add live-reload functionality, replacing the middleware approach that is not possible with a standalone PHP server.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser