edp
edp copied to clipboard
[edp-webserver] 使用 browsersync 增强 liveroad 功能
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?
-
er项目 在开发环境,由于模块细粒度,未合并,打开一个页面可能引入 20-50 个js文件,会很卡,微调css刷新整个网页大丈夫? - 移动项目,同上,手机上 文件过多,kaer than kaer
- 多设备调试,
Action Sync这个东西很有用,开发者未来计划 集成Weinre和Chrome DevTools
@wuhy 也做了一个 watchreload 解决 问题1, 可以参考
这个方案,在目标场景,应该可以 解放至少 30%的调试时间
看起来不错,你有空儿做不?