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
We use Vite-Rails in combination with Docker. We have one container that runs Rails and one which has Vite / Vite-Rails. The dev server and building works so far. However, the logging of the HMR is confusing:
It watches the /usr/src/app/log/development.log file. Why though? Shouldn't this watch the entryfiles and its included files only? Our vite.json looks like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We use Vite-Rails in combination with Docker. We have one container that runs Rails and one which has Vite / Vite-Rails. The dev server and building works so far. However, the logging of the HMR is confusing:
It watches the
/usr/src/app/log/development.log
file. Why though? Shouldn't this watch the entryfiles and its included files only? Ourvite.json
looks like this:Can u explain what we did wrong here or why it is watching the log file? 🤔
How can we remove the watcher on unwanted files?
Thx.
Beta Was this translation helpful? Give feedback.
All reactions