adobe-bracket – 本地开发时Adobe Brackets IDE和CORS

由于Brackets似乎开始了一个新的Chrome实例,(如何)我可以使用–disable-web-security选项启动Chrome,以便在开发客户端和安装时解决CORS问题.我本地机器上的服务器? 最佳答案 从
How to Use Brackets – Live Preview开始:

Live Preview currently has a few other important limitations:

  • It only works with desktop Chrome as the target browser.
  • Opening the Developer Tools in Chrome will close the live development connection.
  • Files must be inside your “project” (the root folder you currently have open in Brackets).
  • Only one HTML file can be previewed at a time. If you switch to a different HTML file in Brackets, the browser preview will switch to
    that new page as well.
  • Updating pauses when the HTML is syntactically invalid (e.g. after you type ‘<‘ for a new tag but before you type the closing ‘>’). The
    line number and Live Preview icon turn red in this case. Brackets will
    resume pushing changes to the browser when syntax becomes valid again.

如果您想达到您想要的效果,请编辑Brackets IDE的源代码.

点赞