V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
orangutan92
V2EX  ›  程序员

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

  •  
  •   orangutan92 · 2018-06-14 16:36:29 +08:00 · 5743 次点击
    这是一个创建于 2114 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    4 条回复    2018-06-14 16:52:41 +08:00
    Keyblade
        1
    Keyblade  
       2018-06-14 16:40:32 +08:00
    Live Server
    learnshare
        2
    learnshare  
       2018-06-14 16:43:38 +08:00
    跟编辑器无关,关键词 live reload 或 hot reload
    oppoic
        3
    oppoic  
       2018-06-14 16:44:26 +08:00
    @Keyblade Live Server 最苦逼的是,目前只支持 VSCode 里面第一个目录的页面实时浏览,如果想看第二个怎么办呢?把第一个目录拖到最后,第二个就变成第一个了,痛苦。
    https://github.com/ritwickdey/vscode-live-server/issues/43
    orangutan92
        4
    orangutan92  
    OP
       2018-06-14 16:52:41 +08:00
    @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.)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3272 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:07 · PVG 22:07 · LAX 07:07 · JFK 10:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.