Live reload don't seem to work with make dev

Hello, I'm a developer and wanted to make some PR. I had some problem to start the project on MacOS. adding custom UID and GID to the postgres docker did the trick (and adding to .env btw) and started with make dev
user:
'${UID:-1000}:${GID:-1000}'
user:
'${UID:-1000}:${GID:-1000}'
but now, when I modify some page on svelte, the live reload doesn't seem to work (same on the backend side). I clicked on w in the console but there a panic error :
immich_redis | 1:M 07 Sep 2025 13:50:54.192 * Background saving terminated with success panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104367918] w Enable Watch goroutine 195 [running]: github.com/docker/compose/v2/pkg/compose.(Watcher).Start(0x0, {0x104ee5388?, 0x140006d6180?}) github.com/docker/compose/v2/pkg/compose/watch.go:87 +0xe8 github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch.func1.1({0x104ee5388?, 0x140006d6180?}) github.com/docker/compose/v2/cmd/formatter/shortcut.go:284 +0x4c github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch.func1.EventWrapFuncForErrGroup.2() github.com/docker/compose/v2/internal/tracing/wrap.go:85 +0x9c github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch.func1() github.com/docker/compose/v2/cmd/formatter/shortcut.go:291 +0x98 created by github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch in goroutine 47 github.com/docker/compose/v2/cmd/formatter/shortcut.go:281 +0x15c docker compose -f ./docker/docker-compose.dev.yml down --remove-orphans make: ** [dev] Error 2
Thank for your help
9 Replies
Immich
Immich4w ago
:wave: Hey @Giuseppe, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Alex Tran
Alex Tran4w ago
Can you terminate the process and try again with make dev-update?
Giuseppe
GiuseppeOP4w ago
no luck. No live reload when I modify some page, and when I press "w" : immich_server | [Nest] 44 - 09/08/2025, 5:54:27 AM LOG [Api:EventRepository] Websocket Connect: YUSf8zQxNzZU4COkAAAL panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x103eb3918] w Enable Watch goroutine 180 [running]: github.com/docker/compose/v2/pkg/compose.(Watcher).Start(0x0, {0x104a31388?, 0x140007b20c0?}) github.com/docker/compose/v2/pkg/compose/watch.go:87 +0xe8 github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch.func1.1({0x104a31388?, 0x140007b20c0?}) github.com/docker/compose/v2/cmd/formatter/shortcut.go:284 +0x4c github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch.func1.EventWrapFuncForErrGroup.2() github.com/docker/compose/v2/internal/tracing/wrap.go:85 +0x9c github.com/docker/compose/v2/cmd/formatter.(LogKeyboard).ToggleWatch.func1() github.com/docker/compose/v2/cmd/formatter/shortcut.go:291 +0x98 created by github.com/docker/compose/v2/cmd/formatter.(*LogKeyboard).ToggleWatch in goroutine 81 github.com/docker/compose/v2/cmd/formatter/shortcut.go:281 +0x15c docker compose -f ./docker/docker-compose.dev.yml down --remove-orphans
Alex Tran
Alex Tran4w ago
what is this mac version? is it one of the m-chip?
Giuseppe
GiuseppeOP4w ago
Yes, M4 Pro on 15.6.1 Sequioa
Alex Tran
Alex Tran4w ago
Maybe try reinstall docker?
Giuseppe
GiuseppeOP4w ago
it's my work computer, and work with docker every day and everything work nicely. I use rancher desktop, maybe this is linked, I need to deep dive a little bit if you don't know the answer. Thank for your help ok now I don't have error when I click on w, just it's not implemented.
Giuseppe
GiuseppeOP4w ago
Watch → watch is not yet configured. Learn more: https://docs.docker.com/compose/file-watch/
Docker Documentation
Use Compose Watch
Use File watch to automatically update running services as you work
Giuseppe
GiuseppeOP4w ago
~/Personal/immich git:[main] docker exec -it immich_web ls -l web/src/routes/'(user)'/photos/'[[assetId=id]]' total 12 -rw-r--r-- 1 501 dialout 6967 Sep 8 15:17 +page.svelte -rw-r--r-- 1 501 dialout 464 Sep 2 08:43 +page.ts I can see ma modification IN the docker, so the mounted file are mounted correctly BUT he don't live reload for some reason

Did you find this page helpful?