nicbet / docker-phoenix

A dockerized Phoenix development and runtime environment.
GNU General Public License v3.0
282 stars 58 forks source link

Auto Reload not working #41

Open afnan opened 6 months ago

afnan commented 6 months ago

I followed the instruction and ran this in devcontainer. However, auto reload does not work if i make any changes in heex file. The change does get reflected when i refresh the browser. I have tried using file_systems: [poll: true] without a result

nicbet commented 5 months ago

Hi @afnan, thanks for your interest in this project. What platform (PC, Linux, Mac, ...), and OS (Windows 10/11, WSL2 with Ubuntu 22.04, OSX 14) ... are you on?

I've just tried in a fresh clone and autoreload after modifying .heex files inside the devcontainer environment is working on my end, so it'd be super helpful to get additional context.

Cheers!

afnan commented 5 months ago

thanks @nicbet for your reply. I have tried on two PCs ( home and work). Both with Windows 11 x64 and docker version 4.21.1 WSL2 with Ubuntu 22.04.4 LTS

nicbet commented 5 months ago

Just tried on my Windows 11 x64 laptop with WSL2 / Ubuntu 22.04 and Docker v4.31.1 with activated WSL2 integration, and the autoreload when editing .heex files is working as expected.

I'll keep the issue open, maybe someone else with Windows as their primary driver will be able to chime in.