From a0b84f04f712be8404891812617432dc1bcf1036 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 9 Mar 2020 11:11:37 +0100 Subject: [PATCH] fix(examples): fix angular examples prod serve doesn't work on windows In Windows runfiles are not always available thus we need to use the real location using `rlocation`. Closes #1606 --- examples/angular/src/BUILD.bazel | 2 +- examples/angular_view_engine/src/BUILD.bazel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/angular/src/BUILD.bazel b/examples/angular/src/BUILD.bazel index 036f3d7f4d..8ad117adf8 100644 --- a/examples/angular/src/BUILD.bazel +++ b/examples/angular/src/BUILD.bazel @@ -209,7 +209,7 @@ history_server( # / => src/prodapp templated_args = [ "-a", - "src/prodapp", + "$(rlocation examples_angular/src/prodapp)", ], ) diff --git a/examples/angular_view_engine/src/BUILD.bazel b/examples/angular_view_engine/src/BUILD.bazel index 853fac517b..e5748bd848 100644 --- a/examples/angular_view_engine/src/BUILD.bazel +++ b/examples/angular_view_engine/src/BUILD.bazel @@ -217,6 +217,6 @@ history_server( # / => src/prodapp templated_args = [ "-a", - "src/prodapp", + "$(rlocation examples_angular/src/prodapp)", ], )