Skip to content

Conversation

@hgwood
Copy link
Member

@hgwood hgwood commented Jan 26, 2023

This can help get hot reloading work when running sensei with a VM-backed Docker from a host file system folder. For example, when running sensei with Docker for Windows with the WSL2 back-end from a Windows file system folder (see #117) or when running sensei with Colima from a macOS file system folder (see lima-vm/lima#615). The recommendation still is to work off the VM file system to get native file watching.

See #117. Setting SENSEI_WATCH_POLL to 'true' now makes webpack poll to watch source files, making it possible to live reload on WSL2. Could be useful in other situations also.
@hgwood hgwood self-assigned this Jan 26, 2023
@hgwood hgwood merged commit 995e891 into main May 22, 2023
@hgwood hgwood deleted the new_watch_poll branch May 22, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants