mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
Add LiveReload (#663)
This commit is contained in:
parent
fed67dcee4
commit
f9a09072e3
8 changed files with 279 additions and 9 deletions
|
@ -64,7 +64,7 @@ function checkPort() {
|
|||
const server = require('./server/server.js');
|
||||
server(port);
|
||||
const host = `http://localhost:${port}`;
|
||||
console.log(`Starting Docusaurus server on ${host}`);
|
||||
console.log('Docusaurus server started on port %d', port);
|
||||
opn(host);
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue