I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When running shopify theme dev The browser console should not be polluted by messages from Shopify tools during development.
Actual behavior
Various logs from Shopify pollute the console, making it more difficult to debug theme development. Processes are running continuously and logging to the console over and over again. Some of these appear to be related to Trekkie, some from the CLI (hot reload) and various others. For example:
[HotReload] Connected theme-hot-reload.js:305
[HotReload] Connection closed by the server, attempting to reconnect...
evtSource.onerror @ theme-hot-reload.js:305
theme-hot-reload.js:300
[HotReload] Connected theme-hot-reload.js:305
(this and others seem to be running every few seconds)
POST https://xxxxxxxxx-dev.myshopify.com/api/collect net::ERR_FAILED
Reproduction steps
shopify theme dev --live-reload full-page
Verbose output
Has client information - can share privately
Operating system
Mac OS Tahoe
CLI version
3.90.0