fix(ui): ui command: display URL

This commit is contained in:
Guillaume Chau
2018-05-01 15:43:10 +02:00
parent fef2f78c3d
commit aa2783da6c
+3 -1
View File
@@ -49,7 +49,9 @@ async function ui (options = {}, context = process.cwd()) {
}
server(opts, () => {
openBrowser(`http://localhost:${process.env.VUE_APP_GRAPHQL_PORT}`)
const url = `http://localhost:${process.env.VUE_APP_GRAPHQL_PORT}`
console.log(`🌠 Ready on ${url}`)
openBrowser(url)
})
}
}