如何实时预览我的网站
cssdesk、jsbin 等在与代码并排显示实时预览方面做得非常出色。我想知道是否有办法获得实时预览。
理想情况下,我会在一台显示器上打开文本编辑器或 ide,在另一台显示器上打开浏览器,当我在 ide 中调整代码并保存文档时,浏览器会感知到更改并更新页面。
这是否需要构建为浏览器扩展,也许它可以用 JavaScript 构建并免费提供给任何想要使用它的开发人员。
我觉得这对于萤火虫之类的东西来说是一个很棒的功能。
cssdesk, jsbin and such do a wonderful job of showing a live preview side by side with your code. I wonder if there is a way to just get the live preview.
Ideally, I would open my text editor or ide on one monitor, and a browser on another monitor, and while I adjust the code in my ide, and save my document, the browser would sense the change, and update the page.
Would this need to built as a browser extension, maybe it can be built in javascript and offered for free to any developer who would like to use it.
I feel like this would be a great feature for firebug or something.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
LiveJS 正是这样做的:
http://livejs.com/
There is LiveJS, which does exactly this:
http://livejs.com/