# Browsersync not noticing php files

**URL:** https://discourse.roots.io/t/browsersync-not-noticing-php-files/16368
**Category:** sage
**Tags:** sage9
**Created:** 2019-08-16T05:12:57Z
**Posts:** 11
**Showing post:** 3 of 11

## Post 3 by @josialoos — 2019-08-16T12:40:25Z

This solved the problem for me:

> [@XMLHttpRequest cannot load hot-update.json due to access control checks](https://discourse.roots.io/t/xmlhttprequest-cannot-load-hot-update-json-due-to-access-control-checks/12145/5):
>
> Browsersync is running on port 3002 for you because something is already running on 3000 The proxyUrl isn’t currently able to detect when BS changes its port Can you kill whatever is running on port 3000 and try again? fkill is good for this: yarn global add fkill-cli fkill :3000 Then try running yarn start again and seeing if it loads your BS session at http://localhost:3000 instead of http://localhost:3002

For everyone having these or similar issues with browsersync and/or yarn not building/syncing Scss and Php Files, I would recommend this troubleshooting guide by @knowler:  
[https://discourse.roots.io/t/sage-9-browsersync-not-updating-right/10648/11?u=josialoos](https://discourse.roots.io/t/sage-9-browsersync-not-updating-right/10648/11)

Thanks a lot to @ben and @knowler!

---

_[View the full topic](https://discourse.roots.io/t/browsersync-not-noticing-php-files/16368)._
