Enable watch mode for build

Open
#364 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Start by reading the ui5-builder component and comparing its current task execution with the external npm-watch approach described in the issue. Define how per-task glob patterns and changed-file information should work, including how this relates to the development server. Done means the builder supports watch-mode execution for selected resources and documents the behavior.

Written by the indexing model from the issue text.

Description

module/ui5-builder

Expected Behavior

It would be a nice enhancement to the builder as such to enable a watch mode. This means it should be possible to define a watch pattern per task which defines via glob patterns which resources should be monitored and then the task should be called with the information of the files being changed. That change allows to run the ui5 tooling in a watch mode and implement smart incremental builds. This contradicts a bit the development server, maybe this concept can be also used for that.

Current Behavior

Today, the only option to run a watch mode behavior is to implement this with an external watch task (npm-watch) which can run the whole build or single tasks.

Steps to reproduce the issue

not related

Context

not related

Affected components (if known)

Dominant language
JavaScript
Stars
511
Forks
83
Avg merge
1d 5h
Merged PRs (30d)
55

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/cli

All issues in UI5/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.