Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.
Open
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: 3 additions & 1 deletion bin/gemini-react-server
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

const program = require('commander');
const Gemini = require('gemini');
const GeminiError = require('gemini/lib/errors/gemini-error');
const pgk = require('../package.json');
const setup = require('../lib/setup');

Expand All @@ -16,4 +17,5 @@ const gemini = new Gemini(program.config);
const server = setup(gemini);
gemini.readTests(program.args)
.then(() => server.start())
.then(url => console.log(`Server is running on ${url}`));
.then(url => console.log(`Server is running on ${url}`))
.catch(err => new GeminiError(err));