Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use polling in docker development to enable hot reload
documentation: https://vite.dev/config/server-options#server-watch -> https://github.com/paulmillr/chokidar/tree/3.6.0#performance -> ``` usePolling (default: false). Whether to use fs.watchFile (backed by polling), or fs.watch. If polling leads to high CPU utilization, consider setting this to false. It is typically necessary to set this to true to successfully watch files over a network, and it may be necessary to successfully watch files in other non-standard situations. Setting to true explicitly on MacOS overrides the useFsEvents default. You may also set the CHOKIDAR_USEPOLLING env variable to true (1) or false (0) in order to override this option. ``` refs KK-1367
- Loading branch information