From 129010e4c2008a6cbdfef511c1490e5823db14b3 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 5 Feb 2020 10:04:57 +0100 Subject: [PATCH] fix(bazel): devserver shows blank page in Windows (#35159) `additional_root_paths` should contain the workspace name see: https://github.com/bazelbuild/rules_nodejs/blob/d4200191c5fb84f395311840d8f90d3715e9f751/packages/typescript/src/internal/devserver/ts_devserver.bzl#L137-L140 Fixes #35144 PR Close #35159 --- packages/bazel/src/builders/files/src/BUILD.bazel.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bazel/src/builders/files/src/BUILD.bazel.template b/packages/bazel/src/builders/files/src/BUILD.bazel.template index 8ebbfee9aa..5e80b35bde 100644 --- a/packages/bazel/src/builders/files/src/BUILD.bazel.template +++ b/packages/bazel/src/builders/files/src/BUILD.bazel.template @@ -116,7 +116,7 @@ filegroup( ts_devserver( name = "devserver", - additional_root_paths = ["src/_"], + additional_root_paths = ["project/src/_"], port = 4200, entry_module = "project/src/main.dev", serving_path = "/bundle.min.js",