Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called
by Jarred-SumnerTypeScript
Last 12 weeks · 0 commits
1 of 6 standards met
Replication Steps create a new bun project using bun init make sure the tsconfig.json has but I think this is the default for a new bun init project (from no template) open and add expect it to import just fine instead you get !image go to tsconfig.json and change moduleResolution to node reload window expect import error to cease Detail This is done in wsl 2.0 ubuntu image on bun 0.3.0 in the vscode editor. I can provide version for all these if you can't readily reproduce Work Around** Go to and set to
Repository: Jarred-Sumner/bun-livereload. Description: Wrap a function with bun-livereload to automatically reload any imports inside the function the next time it is called Stars: 31, Forks: 1. Primary language: TypeScript. Languages: TypeScript (100%). Open PRs: 0, open issues: 1. Last activity: 4y ago. Community health: 28%. Top contributors: Jarred-Sumner.