Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

BROWSER=none don't open browser after publish #171

Merged
merged 1 commit into from
Jul 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/command-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ function onPublishComplete(err)
console.log("Successful!")
console.log("your application is published and hosted at:")
console.log(chalk.green(_hostingInfo.hostingSiteUrl))
opn(_hostingInfo.hostingSiteUrl, {wait: false})
if(process.env.BROWSER !== 'none'){
opn(_hostingInfo.hostingSiteUrl, {wait: false})
}
refreshCloudFront()
})
}
Expand Down