Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 修复 app.config.js 没有被 watch 的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Aug 31, 2019
1 parent 921846d commit b88cfc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/remax-cli/src/build/watcher.ts
Expand Up @@ -11,7 +11,12 @@ let isFirstRunWatcher = true;

const rollupWatchFiles = ['src/**'];
// 配置重新build的路径
const extraFiles = ['src/**/*.config.js', 'src/native', 'src/native/**'];
const extraFiles = [
'src/app.config.js',
'src/**/*.config.js',
'src/native',
'src/native/**',
];
// chokidar config
const chokidarConfig = {
usePolling: true,
Expand Down

0 comments on commit b88cfc8

Please sign in to comment.