Skip to content
Browse files

[*] Make sure cloud deploy can access .babelrc

Now that .babelrc is in client-app, we need to make it an exception in the
.dockerignore file. Additionally, this means that the client-app directory will
exist during the postinstall script in the cloud environment, so we need a
stricter check to figure out if the client-app needs to be built or not.

Test Plan: deployed to staging

Reviewers: evan, juan

Reviewed By: juan

Differential Revision:
  • Loading branch information...
hallamoore committed Feb 22, 2017
1 parent 8cc9010 commit 34030462990db0a3d7c976746afe3e47e5260f5d
Showing with 2 additions and 1 deletion.
  1. +1 −0 .dockerignore
  2. +1 −1 scripts/postinstall.es6
@@ -3,6 +3,7 @@

@@ -82,7 +82,7 @@ async function npm(cmd, options) {

async function electronRebuild() {
if (!fs.existsSync(path.join("packages", "client-app"))) {
if (!fs.existsSync(path.join("packages", "client-app", "apm"))) {
console.log("\n---> No client app to rebuild. Moving on")

0 comments on commit 3403046

Please sign in to comment.
You can’t perform that action at this time.