I need to use my own (file system) router, who scans during 'bake' phase and create routes/loaders/websocket handlers and so on
so anytime a 'dir/file' changes I need bun to reload and even scan for the files/dirs created
What is the feature you are proposing to solve the problem?
--hot scans for all changes of root dir (recursive) in project (where package.json is located) and triggers reload when anything changed
new dir, new file, deleted and so on.
with
--hot-ignore="./node_modules" (default)
we can define paths which should not trigger a reload on change
What is the problem this feature would solve?
I need to use my own (file system) router, who scans during 'bake' phase and create routes/loaders/websocket handlers and so on so anytime a 'dir/file' changes I need bun to reload and even scan for the files/dirs created
What is the feature you are proposing to solve the problem?
--hot scans for all changes of root dir (recursive) in project (where package.json is located) and triggers reload when anything changed
new dir, new file, deleted and so on.
with
we can define paths which should not trigger a reload on change
What alternatives have you considered?
Implementing dir watcher my self in runtime