Skip to content
Merged
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
3 changes: 1 addition & 2 deletions lib/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ const listening = require('./listening')
const log = require('./log')

module.exports = async (file, flags, restarting) => {
// Emit SIGNUSR2 to signal restart to user code
if (restarting) {
process.emit('SIGNUSR2')
process.emit('SIGUSR2')
}

// And then load the files
Expand Down