Skip to content

Does not work with bun.sh #14

Description

@VityaSchel

I have setup a minimal example with bun.sh:

constDraftLog=require('draftlog')DraftLog(console)varupdate=console.draft('Hi, my name is')console.log('Something else')newPromise(resolve=>setTimeout(resolve,1000)).then(()=>{update('Hi, my name is Ivan!')})

tried node index.cjs — it works
tried bun index.cjs — it simply outputs Hi, my name is Ivan! on another line:
image

Bun version: 1.1.8
OS: macos 14.5
terminal: iterm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions