weapp-tailwindcss
weapp-tailwindcss copied to clipboard
MacOS打开微信开发者工具热重载, 热更新无效
描述这个Bug 微信开发者工具热重载打开时, dist热更新无效
代码url
可提供转化失败的 wxml
,js
,wxss
这类的产物,
可以直接复制粘贴在此处,或者提供 url
如何重现 打开微信开发者工具的热重载
期望行为(可选) 编译后的dist代码在微信开发者工具中实时更新
屏幕截图(可选)
运行环境
- OS: MacOs 12.0.1 (21A559)
- Nodejs: 14.17.6
- Framework: taro
- taro info
Additional context Add any other context about the problem here.
之前测试 windows 平台上,微信IDE这个问题已经修复了 https://github.com/sonofmagic/weapp-tailwindcss-webpack-plugin/issues/37
接下来看MacOS上这个问题,什么时候修
这个问题的源头来自于 Webpack 对 modules 有缓存导致的,这点像 taro 提供了一些配置项,来注入代码兼容微信IDE的热重载,详见:
https://github.com/NervJS/taro/issues/10722#issuecomment-992247021
https://taro-docs.jd.com/docs/config-detail#minihot
遇到同样的问题
遇到同样的问题