Skip to content

Commit

Permalink
(docs) Update description of throwUnlessParallelizable option
Browse files Browse the repository at this point in the history
Closes #336.

Credit to @rwjblue for description.
  • Loading branch information
SergeAstapov authored Jan 29, 2021
1 parent 04d9f34 commit aea20d2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,15 @@ let app = new EmberAddon(defaults, {
}
});
```
or via environment variable via
```sh
THROW_UNLESS_PARALLELIZABLE=1 ember serve
```

The `ember-cli-build` option is only specifying that *your* `ember-cli-babel` is parallelizable, not that all of them are.

The environment variable works by instructing **all** `ember-cli-babel` instances to put themselves in parallelize mode (or throw).

*Note: Future versions will enable this flag by default.*

Read more about [broccoli parallel transpilation].
Expand Down

0 comments on commit aea20d2

Please sign in to comment.