Skip to content

Commit a8f9e21

Browse files
committed
chore: add (broken) devmode serving
1 parent 02bb00e commit a8f9e21

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

frontend/angular/BUILD.bazel

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,21 @@ angular_cli.ng(
5151
args = ["build"],
5252
chdir = package_name(),
5353
out_dirs = ["dist"],
54-
tags = ["local"],
54+
tags = ["local"], # TODO: make this work in the Bazel sandbox / remote
55+
)
56+
57+
# FIXME:
58+
# Fails due to running in the bazel run execroot which symlinks to the sources:
59+
# [ERROR] File '../../../../src/main.ts' is missing from the TypeScript compilation. [plugin angular-compiler]
60+
angular_cli.ng_binary(
61+
name = "serve",
62+
args = ["serve"],
63+
chdir = package_name(),
64+
data = [
65+
":config",
66+
":src",
67+
] + TOOLS + RUNTIME,
68+
tags = ["local"], # TODO: make this work in the Bazel sandbox / remote
5569
)
5670

5771
http_server.http_server_binary(

0 commit comments

Comments
 (0)