-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed as not planned
Labels
devkit/build-angular:libraryfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authorsstate: blocked on upstream
Description
Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
Repro steps
--poll option does not work with library.
ng build --watch --poll=1000 works but ng build some-library --watch --poll=1000 does not.
The log given by the failure
CHZRHMAC048:design-system cenkm$ ng build design-system-generic
Building Angular Package
Building entry point 'design-system-generic'
Compiling TypeScript sources through ngc
Bundling to FESM2015
Bundling to FESM5
Bundling to UMD
Minifying UMD bundle
Copying declaration files
Writing package metadata
Removing scripts section in package.json as it's considered a potential security vulnerability.
Built design-system-generic
Built Angular Package!
- from: /Users/cenkm/workspace/design-system/projects/design-system-generic
- to: /Users/cenkm/workspace/design-system/dist/design-system-generic
CHZRHMAC048:design-system cenkm$ ng build design-system-generic --watch --poll=1000
Unknown option: '--poll'
Desired functionality
--poll option also works with libraries. It works fine if [project] is not provided.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
devkit/build-angular:libraryfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: insufficient votesLabel to add when the not a sufficient number of votes or comments from unique authorsLabel to add when the not a sufficient number of votes or comments from unique authorsstate: blocked on upstream