-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unstable_enableWorkerThreads options to transformer and watcher
Summary: Add two options to use Node worker threads rather than `child_process` for Metro's transformer and watcher. This directly corresponds to `jest-worker`'s `enableWorkerThreads` option. These are largely for internal experimentation - it's likely the options will be removed and worker threads will be enabled by default as non-breaking change in a subsequent release. Changelog: ``` * **[Experimental]:** Add `unstable_workerThreads` options to `transformer` and `watcher` configuration. ``` Reviewed By: motiz88 Differential Revision: D50655866 fbshipit-source-id: 498b6a73b11e00c12d109bf6d00d345939aaba0a
- Loading branch information
1 parent
9732f4a
commit 20df4ec
Showing
7 changed files
with
19 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
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
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
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
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
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
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