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

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

  •  
  •   orangutan92 · Jun 14, 2018 · 6401 views
    This topic created in 3064 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
    Keyblade
    Jun 14, 2018
    1
    Live Server
    learnshare
    learnshare
    Jun 14, 2018
    2
    跟编辑器无关,关键词 live reload 或 hot reload
    oppoic
    oppoic
    Jun 14, 2018
    3
    @Keyblade Live Server 最苦逼的是,目前只支持 VSCode 里面第一个目录的页面实时浏览,如果想看第二个怎么办呢?把第一个目录拖到最后,第二个就变成第一个了,痛苦。
    https://github.com/ritwickdey/vscode-live-server/issues/43
    orangutan92
    orangutan92
    OP
    Jun 14, 2018
    4
    @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   ·   Privacy   ·   Solana   ·   3342 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 10:38 · PVG 18:38 · LAX 02:38 · JFK 05:38
    ♥ Do have faith in what you're doing.