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
5 changes: 5 additions & 0 deletions src/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ async function watch(stateManager, mainIndex) {
changesConsumer._tasks.length
);
totalSequence = change.seq;
if (!change.id) {
// Can happen when NPM send an empty line (for example the hearthbeat) 🤷🏻‍
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heartbeat

log.info('Change is null', change);
return;
}
changesConsumer.push(change);
});

Expand Down