8 Jahre

studio.rubenz

das kleine Salzburger Qualitätsstudio für Grafik, Code & Kommunikation

12. Mai 2014

Livereloading PHP files with gulp & MAMP

Improving my workflow with Gulp’s livereload-feature I had a hard time figuring out why Chrome would not update my PHP files even though Gulp had clearly reloaded my changed files. I would have to wait about half a minute to be able to refresh the page with its current content.
Turning off Chrome’s cache in the developer tools and enabling livereload with local files in the plugin’s settings did not solve the problem.
As it turned out the cache issue is caused by MAMP. Disabling caching manually in MAMP’S php.ini file finally made the livereload-magic work.