What issue or error are you experiencing?
Instant Reload is detecting changes, but this error happens in the console and the page doesn’t reload. I get the same behavior with a brand new site running a default theme, whether I’m compiling css or editing a vanilla css file (style.css in twentytwenty, for example).
I also get the behavior in local router mode. I’m loading over http. I get the same error with apache or nginx, with Xdebug on or off.
Here’s the error:
browser-sync-client.js?v=2.26.9:9 Uncaught TypeError: Cannot read properties of null (reading ‘indexOf’)
at e.splitUrl (browser-sync-client.js?v=2.26.9:9:27645)
at e.pathFromUrl (browser-sync-client.js?v=2.26.9:9:27829)
at browser-sync-client.js?v=2.26.9:18:24553
at browser-sync-client.js?v=2.26.9:9:28120
at Array.forEach ()
at e.pickBestMatch (browser-sync-client.js?v=2.26.9:9:28067)
at x (browser-sync-client.js?v=2.26.9:18:24513)
at browser-sync-client.js?v=2.26.9:18:21265
at e.project (browser-sync-client.js?v=2.26.9:16:46445)
at e._tryNext (browser-sync-client.js?v=2.26.9:9:19341)
I should note: I always have gotten an error when instant reload loads, but it’s worked before while this other error was present:
browser-sync-client.js?v=2.26.9:18 WebSocket connection to ‘ws://biolime-2025.local/browser-sync/socket.io/?EIO=3&transport=websocket&sid=PRXpqlEiVmK7iihIAAAA’ failed:
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
System Details
-
Local Version:
Version 9.2.3+6776 -
Operating System (OS) and OS version:
MacOS 15.3.1 (24D70)
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
I have a lot of logs, maybe 20 files, but can’t tell what’s recent and what’s not.
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.