weexteam / A-pack-tool-for-Apache-Weex

A pack tool for Android、iOS and H5 plartform of Weex. This tool is a third party work, and is not developed nor maintained by Apache Weex.
Apache License 2.0
611 stars 76 forks source link

update: watch src dir deep, while runAdroid, #244

Closed SmileSmith closed 5 months ago

SmileSmith commented 5 years ago

Why

When new a page in path './src/business/index.vue' and 'npm run android', it can not hot Reload Because [path.basename] return only 'index.js', [confis.WeexBundle] is 'business/index.js', The Condition is false.

So

change condition to [string].endsWith([string])