mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
feat(cli): improve build watch mode logger
This commit is contained in:
@@ -173,6 +173,8 @@ async function buildPackageEntry() {
|
||||
}
|
||||
|
||||
function watchFileChange() {
|
||||
logger.watch('Compiled successfully, watching file changes...');
|
||||
|
||||
chokidar.watch(SRC_DIR).on('change', async path => {
|
||||
const logger = getInteractiveLogger();
|
||||
const esPath = path.replace(SRC_DIR, ES_DIR);
|
||||
|
Reference in New Issue
Block a user