Join Slack
Powered by
Hello! I'm working inside a docker container and w...
# help
i
Ian
06/11/2022, 8:59 PM
Hello! I'm working inside a docker container and when I tried sst start, it's not picking up the file changes. Help is very much appreciated. Thanks!
a
Adrian Schweizer
06/11/2022, 9:56 PM
I remember from my Docker times that watching for file changes was always tricky and depended on how the volumes were mounted
Adrian Schweizer
06/11/2022, 9:57 PM
Can you elaborate a bit on how your docker container is set up?
i
Ian
06/12/2022, 2:11 AM
Here's the docker compose and docker file:
Ian
06/12/2022, 2:12 AM
Directory looks like this:
Ian
06/12/2022, 3:17 AM
I was able to make it work by adding an environment variable in my docker compose. I was able to find which file watcher sst is using(chokidar).
Open in Slack
Previous
Next