brackets-cont / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
Other
1.36k stars 181 forks source link

Fix for broken Live Preview after latest chrome update #262

Closed abose closed 1 year ago

abose commented 1 year ago

Live preview in brackets fails after the latest Chrome update (Version 111). You will get the following error: image

The fix:

A new release of Brackets with the fix will be available by 15'th march. Please follow this issue to track.

Till we release the update, you can fix the issue by one of the two methods:

Method 1: Use phcode.dev - the browser version of Brackets.

Phoenix brings all the powers of Brackets and its Extensions to web browsers; no install needed. Click here to open phcode.dev . New native builds of phcode and Brackets are in the works and will be available by June-July. image

Method 2: Enable Experimental live preview in Brackets

  1. open file menu > Enable Experimental Live Preview
  2. Live preview should now work in brackets.

    Note that experimental live preview does not work with custom preview servers in project settings image

abose commented 1 year ago

Looks like webstorm is affected too: link . But they have a fix, checking the fix.

New security config needs to be added: --remote-allow-origins=*

abose commented 1 year ago

Issue fixed in mac and windows. Pending testing and detailed test suite run as this is a high-impact code change.

abose commented 1 year ago

Release published fixing the issue: https://github.com/brackets-cont/brackets/releases/tag/v2.2.0 Waiting for more thorough testing before publishing to site and sending update notification.

abose commented 1 year ago

New release is updated at https://brackets.io . Release notification to be updated tomorrow.

abose commented 1 year ago

A new release is posted. Closing as fixed.

anna007108 commented 1 year ago

This issue exists again with macOS and the new version of Chrome. Can someone fix it please?

rpralica commented 1 year ago

Maybe this is not the right place to ask but can someone tell me how to install Brackets 2 on Linux Mint

davlhd commented 6 months ago

This is still an issue on macOS

abose commented 6 months ago

This is still an issue on macOS

Please download the latest native builds from https://phcode.io . We have a new native build available there.