diff --git a/examples/angular_bazel_architect/BUILD.bazel b/examples/angular_bazel_architect/BUILD.bazel index be745d4739..1cf06e9701 100644 --- a/examples/angular_bazel_architect/BUILD.bazel +++ b/examples/angular_bazel_architect/BUILD.bazel @@ -112,6 +112,36 @@ architect_test( ], ) +architect( + name = "serve", + args = [ + "frontend:serve", + ], + configuration_env_vars = ["NG_BUILD_CACHE"], + data = glob( + [ + "src/*", + "src/**", + ], + exclude = [ + "src/**/*.spec.ts", + "src/test.ts", + ], + ) + [ + "angular.json", + "browserslist", + "tsconfig.app.json", + "tsconfig.json", + "@npm//mime", + "@npm//@angular/cli", + "@npm//@angular/core", + "@npm//@angular/router", + "@npm//@angular/platform-browser-dynamic", + "@npm//@angular-devkit/build-angular", + ], + tags = ["ibazel_notify_changes"], +) + # Just a dummy test so that we have a test target for //... on certain bazelci platforms with bazel_integration_test sh_test( name = "dummy_test",