Skip to content

Commit

Permalink
Copy local URL to clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Feb 4, 2017
1 parent b186253 commit 0206aa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/listening.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = async (server, current, inUse) => {
})

if (!process.env.NOW) {
let message = chalk.green('Running!')
let message = chalk.green('Micro is running!')

if (inUse) {
message += ' ' + chalk.red(`(on port ${inUse.old},` +
Expand All @@ -37,7 +37,7 @@ module.exports = async (server, current, inUse) => {
message += `• ${chalk.bold('Locally: ')} ${localURL}\n`
message += `• ${chalk.bold('On the Network: ')} ${url}\n\n`

const copied = await copyToClipboard(url)
const copied = await copyToClipboard(localURL)

if (copied) {
message += `${chalk.grey('Copied local address to clipboard!')}\n\n`
Expand Down

0 comments on commit 0206aa3

Please sign in to comment.