From f7e844abd7219e90bf25bb452ac84d9a91918094 Mon Sep 17 00:00:00 2001 From: Raees Iqbal Date: Mon, 13 Apr 2020 16:56:23 -0700 Subject: [PATCH 1/2] Deploy: Replace live with better words --- src/commands/deploy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/deploy.js b/src/commands/deploy.js index 8e541ac3d54..616e661900f 100644 --- a/src/commands/deploy.js +++ b/src/commands/deploy.js @@ -169,7 +169,7 @@ class DeployCommand extends Command { let results try { if (deployToProduction) { - this.log('Deploying to live site URL...') + this.log('Deploying to main site URL...') } else { this.log('Deploying to draft URL...') } @@ -220,10 +220,10 @@ class DeployCommand extends Command { } if (deployToProduction) { - msgData['Live URL'] = siteUrl + msgData['Website URL'] = siteUrl } else { delete msgData['Unique Deploy URL'] - msgData['Live Draft URL'] = deployUrl + msgData['Website Draft URL'] = deployUrl } // Spacer @@ -251,7 +251,7 @@ class DeployCommand extends Command { if (!deployToProduction) { this.log() - this.log('If everything looks good on your draft URL, take it live with the --prod flag.') + this.log('If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.') this.log(`${chalk.cyanBright.bold('netlify deploy --prod')}`) this.log() } From f3f4f6d2e161b6eeab7047adfa016b86e2177c61 Mon Sep 17 00:00:00 2001 From: Raees Iqbal Date: Mon, 13 Apr 2020 17:04:21 -0700 Subject: [PATCH 2/2] Dev: Better message about redirect rules reloading --- src/utils/rules-proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/rules-proxy.js b/src/utils/rules-proxy.js index d12a9af9615..94afffda0f9 100644 --- a/src/utils/rules-proxy.js +++ b/src/utils/rules-proxy.js @@ -69,7 +69,7 @@ module.exports = function createRewriter({ distDir, projectDir, jwtSecret, jwtRo let rules = [] onChanges(configFiles, async () => { - console.log(`${NETLIFYDEVLOG} Reloading files`, configFiles.map(p => path.relative(projectDir, p))) + console.log(`${NETLIFYDEVLOG} Reloading redirect rules from`, configFiles.map(p => path.relative(projectDir, p))) rules = await parseRules(configFiles) matcher = null })