Skip to content

Local development: use nodemon to watch files instead of watchmedo #9338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ RUN apt-get -y install \
sqlite \
netcat \
telnet \
lsb-release
lsb-release \
npm

# Gets the MinIO mc client used to add buckets upon initialization
# If this client should have issues running inside this image, it is also
Expand All @@ -38,6 +39,8 @@ RUN apt-get -y install \
RUN curl -s -q https://dl.min.io/client/mc/release/linux-amd64/archive/mc.RELEASE.2022-06-11T21-10-36Z -o /usr/bin/mc && \
chmod +x /usr/bin/mc

RUN npm install -g nodemon

# Uncomment en_US.UTF-8 locale and generate it
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
Expand Down
5 changes: 0 additions & 5 deletions requirements/docker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ django-redis-cache==3.0.1
# For resizing images
pillow==9.1.0

# Local debugging tools
watchdog==2.1.7
# watchdog dependency
argh==0.26.2

# run tests
tox==3.25.0

Expand Down