Skip to content

Commit

Permalink
Add entr environment variable
Browse files Browse the repository at this point in the history
Attempt to fix an issue where file changes are not recognised by entr
when mounted from Azure Storage.
  • Loading branch information
JimMadge committed Sep 19, 2023
1 parent 68557bb commit ddad284
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,13 @@ def __init__(
name="NEXUS_PORT",
value="8081",
),
# Fix issue with changes to files on Azure storage mount not
# being recognised by entr
# https://github.com/eradman/entr/blob/5.4/README.md#docker-and-wsl
containerinstance.EnvironmentVariableArgs(
name="ENTR_INOTIFY_WORKAROUND",
value="1",
),
],
ports=[],
resources=containerinstance.ResourceRequirementsArgs(
Expand Down

0 comments on commit ddad284

Please sign in to comment.