How to exclude .php files from being watched by laravel mix
Hello folks, I'm building a SPA application with laravel, and using laravel mix mostly for frontend files compilation. After launch "yarn run hot", I would like to exclude from being watched server side files (.php), becasuse every time I make a change in the backend, the whole page is reloaded. Even, after the latest windows update, doing a simple ajax call to the server could triger a "[Browsersync] Reloading Browsers..." event in my "yarn run hot" console.
I suppose that excluding .php files from being watched by laravel mix would help me, but I don't know how. Perhaps it is a webpack configuration....