Comments (4)
We could add a bun patch --commit --force
subcommand for those on macOS not using hardlinks to install. The problem with editing it directly on Linux or Windows is we use hardlinks to install packages by default. This means that editing the package there will also edit the cached on-disk version and that means it will effect every installed copy. We haven't come up with a way to preserve the fast install speeds while also allowing editing in-place
from bun.
Oh I see, I though this was like this on linux too. I'm happy to be on Mac OS.
Can't the command detect the current backend and commit directly?
from bun.
Can't the command detect the current backend and commit directly?
Unfortunately, not always. You could install from a USB stick. You could install from a network drive. The package could be a symlink to a network drive. You might be on a very old HFS+ volume. These are all edgecases, but we only know what was used at the time of install
from bun.
It means that a install folder can contains a mix of multiple backend if install was done with one but a package was added with another later? There is no way to be sure a folder is not a hardlink/symlink on Mac?
from bun.
Related Issues (20)
- crashed with elysiajs
- Bun is crashing when using elysia autoload HOT 14
- Bun Infinite SegFault after update HOT 1
- Worker does not load `preload` from bunfig.toml
- Segmentation fault at address 0x0 HOT 1
- No blog page for v1.1.20 HOT 1
- centos 7.9 docker run fail
- node:worker_threads Worker#terminate promise does not keep event loop alive
- using dynamic `import` causes `__require` to be emitted when bundling
- node:worker_threads Worker#terminate does not terminate infinite loops
- Would you like to install the required dependencies? (recommended) HOT 1
- bun install pm2 -g
- Cannot install optional dependencies during dockerization.
- [Crash] robot.js LoadLibrary failed: A dynamic link library (DLL) HOT 2
- v1.1.20 crash in docker build HOT 1
- build windows cannot execute
- Single-file executable doesn't work with node-opcua package
- 🚀 Catalog to ensure version consistency in monorepos (similar to pnpm)
- setSystemTime resets clock if parameter is a number
- Add `outfile` to `Bun.build`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bun.