Skip to content

Commit

Permalink
Only copy to clipboard on darwin
Browse files Browse the repository at this point in the history
This closes #111
  • Loading branch information
leo committed Feb 21, 2017
1 parent 16019b9 commit 83ebb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/listening.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = coroutine(function * (server, current, inUse) {
message += `- ${chalk.bold('Local: ')} ${localURL}\n`
message += `- ${chalk.bold('On Your Network: ')} ${url}\n\n`

if (isTTY) {
if (isTTY && process.platform === 'darwin') {
const copied = yield copyToClipboard(localURL)

if (copied) {
Expand Down

0 comments on commit 83ebb04

Please sign in to comment.