dcloudio / dcloudio/uni-app

正在编译中,如果有新的改动保存应该取消正在编译,重新执行编译?

Open
#6,030 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**新功能描述**
每次编译应该检查是否正在编译中,如果是正在编译应该取消重新编译。

**现状及问题**
在开发阶段,每次保存都会触发build构建,如果频繁触发,则会触发多次构建。

Contributor guide

Open the contributing guide

Research direction

Start by tracing the development build triggered when files are saved and identify where repeated build requests are queued or started. Check whether the build process already exposes cancellation, then verify that a new save cancels the active build and starts exactly one replacement build.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.