ionic-team / ionic-team/ionic-cli

Don't build if no files changed (and same build command)

Open
#2,820 1 comment 0 reactions 0 assignees View on GitHub
enhancement project type: ionic-angular
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

Right now Ionic CLI builds all the time. It would be nice if the CLI could skip a build if no files were changed and the build in `www` was done with the same params as the current command.

Contributor guide

Open the contributing guide

Research direction

Start at the Ionic CLI build command and trace how it detects changed files and records the parameters used for the existing build in www. Done means the CLI skips the build only when no files changed and the current command uses the same parameters; otherwise it builds normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.