When I'm working with the local web server (jss start:connected)
and at the same time I log into the actual instance of Sitecore (dev.test.com) and go to the experience editor. The local version get's stuck in experience editor mode.
The reason seems to be that chrome reads the cookies for the (dev.test.com) URL as well as the cookies for (localhost).
Deleting the sc_mode cookie that says edit or logging out from Sitecore seems to be the only way to fix this problem.
Is this a bug in Sitecore or what am I missing?