Skip to content

Commit

Permalink
fix(gatsby): retry socket when connection closes (gatsbyjs#27060)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Sep 29, 2020
1 parent 4e7ab0e commit 8d62b2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/gatsby/cache-dir/socketIo.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export default function socketIo() {
// errors within the console, such as when exiting the develop process.
socket.on(`disconnect`, () => {
console.warn(`[socket.io] Disconnected from dev server.`)
socket.close()
})
} catch (err) {
console.error(`Could not connect to socket.io on dev server.`)
Expand Down

0 comments on commit 8d62b2c

Please sign in to comment.