-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7473 from elastic/jasper/backport/7458/4.x
[backport] PR #7458 to 4.x
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export default function (grunt) { | ||
grunt.registerTask('_build:babelCache', function () { | ||
//When running from built packages, if a plugin is installed before babelcache | ||
//exists it can become owned by root. This causes server startup to fail because | ||
//the optimization process can't write to .babelcache.json. | ||
grunt.file.write('build/kibana/optimize/.babelcache.json', '{}\n'); | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters