• 请不要在回答技术问题时复制粘贴 AI 生成的内容
orangutan92
V2EX  ›  程序员

VSCode 有什么好用的支持网页实时预览的插件?

  •  
  •   orangutan92 · Jun 14, 2018 · 6209 views
    This topic created in 2919 days ago, the information mentioned may be changed or developed.

    之前试过 v 站有人推荐的 watch in browser 这个插件,发现这个只适用于纯静态页面,如果页面上有 js 的话,就捉襟见肘了,刷新是会刷新,但是会卡在图片预加载的 loading 这里。我是做 H5 开发的,经常需要刷新页面看效果,大家有没有好用的插件推荐呢?

    4 replies    2018-06-14 16:52:41 +08:00
    Keyblade
        1
    Keyblade  
       Jun 14, 2018
    Live Server
    learnshare
        2
    learnshare  
       Jun 14, 2018
    跟编辑器无关,关键词 live reload 或 hot reload
    oppoic
        3
    oppoic  
       Jun 14, 2018
    @Keyblade Live Server 最苦逼的是,目前只支持 VSCode 里面第一个目录的页面实时浏览,如果想看第二个怎么办呢?把第一个目录拖到最后,第二个就变成第一个了,痛苦。
    https://github.com/ritwickdey/vscode-live-server/issues/43
    orangutan92
        4
    orangutan92  
    OP
       Jun 14, 2018
    @learnshare Could not connect to LiveReload server. Please make sure that a compatible LiveReload server is running. (We recommend guard-livereload, until LiveReload 2 comes to your platform.)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5422 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 03:33 · PVG 11:33 · LAX 20:33 · JFK 23:33
    ♥ Do have faith in what you're doing.