You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Electroid
changed the title
How to use bun --watch while ignoring stuff like client code that is already being hot reloaded by another tool?
Support ignoring paths with bun --watchFeb 5, 2024
I think this should be prioritized. Not being able to ignore certain paths makes it impossible (or at least very difficult) to implement watch in full-stack apps. For example, it breaks compatibility with Vite HMR, as stated in #13203.
What is the problem this feature would solve?
nodemon does something like this:
tsx (https://github.com/esbuild-kit/tsx) does
tsx watch --ignore ./file.js
how to do this with bun?
What is the feature you are proposing to solve the problem?
bun --watch --ignore clientCode/**/*
The issue would probably be what would bun do if a certain ignored module is being used during runtime?
What alternatives have you considered?
To completely stop bun from watching files
The text was updated successfully, but these errors were encountered: