Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gulp builds not building some targets, use LKG by default #29447

Merged
merged 1 commit into from
Jan 18, 2019
Merged

Conversation

rbuckton
Copy link
Member

When executing gulp default in a clean (or mostly clean) repo, the gulp build would sometimes exit prematurely without any indication. This was due to parallel executions of the compilation graph resulting in gulp task status being overwritten.

For now, the simple fix is to serialize access to the compilation graph so that tasks are always run cleanly.

This also changes the default behavior of the gulp builds to using the LKG compiler. To build the compiler using the built compiler, use gulp --no-lkg.

@rbuckton rbuckton requested a review from weswigham January 16, 2019 23:01

const watchPatterns = [
"src/tsconfig-base.json",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these also be watching the test case directories for actual test changes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, right. T.T

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this might be fixed in gulp 4? Minimally it uses a different watching backend.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gulp4 requires a major overhaul of the build process.

@rbuckton
Copy link
Member Author

@weswigham: any other comments?

@rbuckton rbuckton merged commit b317334 into master Jan 18, 2019
@rbuckton rbuckton deleted the fixGulp branch January 18, 2019 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants