Skip to content

Commit 4010ef9

Browse files
committed
fix: allow for args to be passed for the ng serve command
1 parent 17eac47 commit 4010ef9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/architect/ng_application.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def ng_application(
2222
ng_config,
2323
project_name = None,
2424
args = [],
25+
serve_args = [],
2526
srcs = [],
2627
deps = [],
2728
**kwargs):
@@ -64,6 +65,6 @@ def ng_application(
6465
name = name + ".serve",
6566
tool = tool,
6667
chdir = native.package_name(),
67-
args = ["serve", project_name],
68+
args = ["serve", project_name] + args + serve_args,
6869
data = srcs + deps,
6970
)

0 commit comments

Comments
 (0)