Skip to content

process.env.FASTBOOT_DISABLED to disable fastboot build#338

Merged
tomdale merged 1 commit intoember-fastboot:masterfrom
kellyselden:manual-disable
Feb 6, 2017
Merged

process.env.FASTBOOT_DISABLED to disable fastboot build#338
tomdale merged 1 commit intoember-fastboot:masterfrom
kellyselden:manual-disable

Conversation

@kellyselden
Copy link
Copy Markdown
Member

This would be a pre 1.0 power user flag to disable the fastboot build while retaining the fastboot service. Use case is large legacy apps that already take forever to build. Developing locally would like the option to disable fastboot while CI does the fastboot builds. I tried blacklisting the addon, but then I got Error: Attempting to inject an unknown injection: 'service:fastboot' on CI because the fastboot service was gone.

I brought this up in slack and there was at least one other user with a fork of fastboot doing this check as well as me.

@jasonmit
Copy link
Copy Markdown
Contributor

jasonmit commented Jan 18, 2017

We took a similar approach to avoid the double build times, and only enable fastboot for deployment builds. Would be nice to see this land 👍

@tomdale
Copy link
Copy Markdown
Contributor

tomdale commented Jan 27, 2017

I don't love this, but it's definitely solving a real need. Let's keep it around until the double build problem is addressed. @kellyselden, can you make sure we note this flag in the README so it's not just a secret handshake you have to learn about?

@kellyselden
Copy link
Copy Markdown
Member Author

Added to README. @tomdale need your approval on my wordsmithing.

@tomdale tomdale merged commit 64156f7 into ember-fastboot:master Feb 6, 2017
@kellyselden kellyselden deleted the manual-disable branch February 6, 2017 20:10
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.

3 participants