Skip to content
Merged
Show file tree
Hide file tree
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: 2 additions & 2 deletions lib/commands/serve.js
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,7 +4,7 @@ const serveStatic = require('serve-static')
const connect = require('connect')
const livereload = require('connect-livereload')
const lrserver = require('livereload')
const open = require('open')
const opn = require('opn')
const chalk = require('chalk')
const util = require('../util/index')

Expand DownExpand Up@@ -34,7 +34,7 @@ module.exports = function (path, openInBrowser, port, livereloadPort) {
}).watch(path)

if (openInBrowser) {
open(`http://localhost:${port}`)
opn(`http://localhost:${port}`)
}

const msg = '\nServing ' + chalk.green(`${path}`) + ' now.\n' +
Expand Down
Loading