From 083873d3b56523e9cd84c1b426430a0abbe3d618 Mon Sep 17 00:00:00 2001 From: cuyl Date: Sun, 13 Sep 2020 02:32:40 +0800 Subject: [PATCH] fix(examples): prevent ibazel EOF Fixes #2143 --- examples/create-react-app/BUILD.bazel | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/create-react-app/BUILD.bazel b/examples/create-react-app/BUILD.bazel index 382b3be9f8..abc1b14732 100644 --- a/examples/create-react-app/BUILD.bazel +++ b/examples/create-react-app/BUILD.bazel @@ -99,5 +99,11 @@ react_scripts( "--node_options=--require=$(rootpath chdir.js)", "start", ], + tags = [ + # This tag instructs ibazel to pipe into stdin a event describing actions. + # ibazel send EOF to stdin by default and `react-scripts start` will stop when getting EOF in stdin. + # So use this to prevent EOF. + "ibazel_notify_changes", + ], data = _RUNTIME_DEPS, )