adobe-brackets - 本地开发时的 Adob​​e Brackets IDE & CORS

标签 adobe-brackets

由于 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 的源代码。

关于adobe-brackets - 本地开发时的 Adob​​e Brackets IDE & CORS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23098279/

相关文章:

javascript - "unexpected console statement no-console"

css - 使用字体安装自定义字体

node.js - 预期错误 : Error: Max connection attempts reached

adobe-brackets - 如何在单独的选项卡中打开文件

adobe-brackets - 使用括号突出显示 .leaf 文件的 html

Javascript(使用 Phaser)错误显示游戏颜色 - 括号

javascript - 如何在 Adob​​e Brackets IDE 中链接外部 javascript 文件?

sass - 如何在括号文本编辑器中安装 Sass

css - .css 主题文件中的字体标记

javascript - 括号 p5.js 无法加载声音 : Error "The request status was: 0 ()"