Skip to content

Commit

Permalink
refactor: better watch logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed May 25, 2023
1 parent a37671c commit 7a7b203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default class FpkCli extends Command {
if (flags.watch) {
CB.pipe(
CB.fromEventP(watch(flags.source, { ignoreInitial: true }), "all"),
CB.tap((e: any) => console.log("WATCH", e.slice(0, 2))),
CB.tap((e) => console.log("WATCH", e)),
CB.auditTimeP(200),
CB.tap(resetCache),
CB.chain(() => CB.fromPromise_(generator, (e) => e)),
Expand Down

0 comments on commit 7a7b203

Please sign in to comment.