Skip to content

Commit

Permalink
Add whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Jan 19, 2022
1 parent 2f46b6f commit 5995258
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,11 @@ fs.mkdirSync(outdir, { recursive: true });
bs.init(browserSyncConfig, () => {
// This init callback gets executed after the server has started
const socketIoConfig = browserSyncConfig.socket.socketIoClientConfig;
// Wait enough time for any open, detached clients to have a chance to reconnect. This will be used to determine if we reload an existing tab or open a new one.

// Wait enough time for any open, detached clients to have a chance to reconnect. This will be used to determine
// if we reload an existing tab or open a new one.
const tabReattachDelay = socketIoConfig.reconnectionDelayMax * 2 + socketIoConfig.timeout;

setTimeout(() => {
const url = `http://localhost:${port}`;
console.log(chalk.cyan(`Launched the Shoelace dev server at ${url} 馃ゾ\n`));
Expand Down

0 comments on commit 5995258

Please sign in to comment.