Live Edit (Mac Big Sur - M1 Silicon) - Buggy in both 2021.1 and 2021.2 updates
From what I can tell the last version where Live Edit on Mac (Big Sur) worked smoothly in Php Storm was 2020.3, worked great, very smooth indeed. Both 2021.1 and 2021.2 releases are really buggy where Live Edit is concerned. It works for a couple of lines of code, then stops??? I frequently get a message in the console when I type some code into the editor:
'Failed to load resource: the server responded with a status of 404 (Not Found) http://…63342/favicon.ico'
I know that's some kind of Chrome bug and I don't know if that has any bearing on causing the Live Edit to fail but I don't get that message when using version 2020.3, all works well - seems to be something introduced in versions 2021.1 and 2021.2 causing it, which is perhaps stopping Live Edit updating.
Please sign in to leave a comment.
404 error is reported for the
favicon.ico
file that must be missing in your app; the browser normally tries to find it in the root directory. I'd suggest to ignore this error, it affects neither Live Edit nor debugging, and it has no relation to recent updates/IDE functionality.See also https://stackoverflow.com/questions/1321878/how-to-prevent-favicon-ico-requests for some suggestions on getting rid of this error; for example, you can add
<link rel="icon" href="data:,">
to the<head>
section of your HTML. Or, even better, add some realfavicon.ico
image file to the root of your project, it's one of web dev best practicesAs for Live Edit, there are some known issues with it that can be related, see https://youtrack.jetbrains.com/issue/WEB-51201, https://youtrack.jetbrains.com/issue/WEB-50981 and https://youtrack.jetbrains.com/issue/WEB-50551
Note that we've recently introduced a new way to preview changes in the HTML files, without starting a debug session. You can give it a try
Thanks for the response.
I'm aware of the favicon.ico fixes but as you say the error can just be ignored as deploying one of the fixes made no difference to if 'Live Edit' worked or not, it still stopped after a couple of lines of inputting code into the editor.
I'm aware of the new way to preview changes in html files BUT in my opinion this is a next to useless update as there are no browser dev-tools included, very, very poor indeed.
What I don't get is Live Edit works seamlessly in php storm 2020.3 same computer set up and you're trying to tell me its not some buggy trash/bloat introduced in versions 2021.1 and 2021.2, pull the other one please. Hopefully this can be fixed in the next 2022 editions of the editor!!!
This may just see me saying 'bye bye' to php storm...........as other editors actually work. I suggest you get the basics to work first before exploring other more advance features.
So I'm either stuck now on 2020.3 and have to make a decision to continue to subscribe to the IDE or move on and find a solution that works for me. Oh well it is what it is, rather a disappointing outcome.