edp icon indicating copy to clipboard operation
edp copied to clipboard

[edp-webserver] 使用 browsersync 增强 liveroad 功能

Open junmer opened this issue 11 years ago • 1 comments

Why use BrowserSync? When you’re making responsive websites, there’s a lot of tweaking and testing to do. BrowserSync makes your workflow faster by synchronising URLs, interactions and code changes across multiple devices. It’s wicked-fast and totally free.

我们的项目,为啥用 BrowserSync

  1. er 项目 在开发环境,由于模块细粒度,未合并,打开一个页面可能引入 20-50 个js 文件,会很卡,微调 css 刷新整个网页大丈夫?
  2. 移动项目,同上,手机上 文件过多,kaer than kaer
  3. 多设备调试,Action Sync 这个东西很有用,开发者未来计划 集成 WeinreChrome DevTools

@wuhy 也做了一个 watchreload 解决 问题1, 可以参考

这个方案,在目标场景,应该可以 解放至少 30%的调试时间

junmer avatar Feb 02 '15 07:02 junmer

看起来不错,你有空儿做不?

firede avatar Feb 02 '15 08:02 firede