You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,13 @@ ember install ember-cli-fastboot
33
33
*`ember fastboot --serve-assets`
34
34
* Visit your app at `http://localhost:3000`.
35
35
36
-
**Note**: If your app is running ember-cli v2.12.0-beta.1+, you can just use `ember serve` instead of `ember fastboot --serve-assets`.
36
+
### With `ember-cli` version 2.12.0-beta.1 and above
37
+
If your app is running ember-cli v2.12.0-beta.1+, you can just use `ember serve` instead of `ember fastboot --serve-assets` and visit at `http://localhost:4200/`.
38
+
39
+
Optionally you can even disable the fastboot serving at runtime using the `fastboot` query parameter. Example to turn off fastboot serving,
40
+
visit your app at `http://localhost:4200/?fastboot=false`. If you want to turn on fastboot serving again, simply visit at `http://localhost:4200/?fastboot=true` or `http://localhost:4200/`.
41
+
42
+
You can even disable serving fastboot with `ember serve` using an environment flag: `FASTBOOT_DISABLED=true ember serve`. If you have disabled building fastboot assets using the same flag as described [here](https://github.com/ember-fastboot/ember-cli-fastboot#double-build-times-and-no-incremental-builds), remember to also disable serving fastboot assets when using `ember serve`.
37
43
38
44
You may be shocked to learn that minified code runs faster in Node than
39
45
non-minified code, so you will probably want to run the production
@@ -392,7 +398,7 @@ inside of the sandbox environment. For this reason, it's encouraged to [disable
392
398
Due to limitations in Ember CLI, builds take twice as long to generate the
393
399
second set of FastBoot assets. This also means incremental builds with
394
400
live reload don't work either. This aims to be resolved by FastBoot 1.0.
395
-
In the mean time, we introduce a short-circuit evironment flag to not do
401
+
In the mean time, we introduce a short-circuit environment flag to not do
0 commit comments