Open huseeiin opened 1 year ago
related #5278
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.
Related: #5278
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