Skip to content

Dev build: ibazel watch stops working after 2 refreshes  #21770

@pkozlowski-opensource

Description

@pkozlowski-opensource

I'm submitting a...

[x] Bug report

Current behavior

Try $(npm bin)/ibazel test packages/core/test/render3 from your favourite shell. Edit a test file in the packages/core/test/render3 2 or 3 times and notice that ibazel stops picking up changes after 2 or 3 edits.

This was confirmed on multiple machines.

Expected behavior

ibazel should re-build and re-run tests on each and every edit.

Minimal reproduction of the problem with instructions

Clone this repository and try $(npm bin)/ibazel test packages/core/test/render3 from your favourite shell. Edit a test file in the packages/core/test/render3 2 or 3 times and notice that ibazel stops picking up changes after 2 or 3 edits.

What is the motivation / use case for changing the behavior?

Currently we need to restart ibazel process after 2-3 edits which makes working on the code in the TDD mode sub-optimal.

Environment

OSX, node v8.9.1

Other

Discussed this with @IgorMinar and @alexeagle

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: bazelIssues related to the published `@angular/bazel` build rulesarea: build & ciRelated the build and CI infrastructure of the projectfreq3: hightype: bug/fix

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions