Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Refresh manifest_data has_preload on changes - fixes #611 (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderhahn authored and Conduitry committed Sep 24, 2019
1 parent caf8847 commit c50abc6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/api/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,7 @@ function watch_dir(

watch = new CheapWatch({ dir, filter, debounce: 50 });

watch.on('+', ({ isNew }: { isNew: boolean }) => {
if (isNew) callback();
});
watch.on('+', callback);

watch.on('-', callback);

Expand Down

0 comments on commit c50abc6

Please sign in to comment.