Skip to content

ng serve with options for node #14576

@sysmat

Description

@sysmat

🚀 Feature request

ng serve command should accept node flags

Command (mark with an x)

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

Description

ng serve accept node flags

Describe the solution you'd like

Something like proxy-conf.json

ng serve --node-config=node-conf.json --proxy-config proxy-conf.json

https://nodejs.org/api/cli.html

{
 "max-http-header-size": 100000,
...
   
}

Describe alternatives you've considered

  • recompile node with custom flags, not good idea
  • downgrading node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions