question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"--watch" added to ng build [project]

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Command (mark with an x)

- [ ] new
- [x ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Desired functionality

What would like to see implemented?

--watch added to ng build [project]

ng build projectName --watch

What is the usecase?

When building projects to be used in other apps, this command needs to be run manually each time.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
cjonaswcommented, Nov 7, 2018

Works in Angular 7+ FYI. Update all dependencies of course.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 8, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular: Watch Build for Changes - JavaScript in Plain English
You may use the watch option on Angular build for updating the output as and when developers make changes to the code. It...
Read more >
How do I build with watch enabled using angular-cli?
The ng build --watch looks for the path: dist to watch the changes. ... The command to build & watch AngularJs: ng build...
Read more >
ng build - Angular
Option Description Value Type Default Value ‑‑aot Build using Ahead of Time compilation. boolean true ‑‑base‑href Base url for the application being built. string ‑‑delete‑output‑path Delete...
Read more >
How to make angular app watch for changes in angular library ...
Add a library project ... Go to the root of this project and generate a library. ... Depending on angular.json configuration, it will...
Read more >
Angular CLI - ng build Command - Tutorialspoint
Sr.No. Option & Syntax Description 2 ‑‑baseHref=baseHref Base url for the application being built. 9 ‑‑deployUrl=deployUrl URL where files will be deployed. 17 ‑‑localize=true|false
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found