You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i'm trying to run a node dev environment with tsnd. I'm using Docker
The hot reload feature (using --respawn) is not working while running inside the docker container. However, everything's working while running on the host machine
There is a volumes mounted between the host machine and the container and the code is correctly updated inside the docker container (with docker compose)
Here is the command that i run: "tsnd -r tsconfig-paths/register --env-file=common/environment-variables/development/.env --respawn src/entrypoint.ts"
Here is my Dockerfile:
FROM node:20.11.0
LABEL authors="@hooma"
WORKDIR /srv/authentifier-service
COPY --link . ./
RUN npm install pnpm -g
RUN pnpm install
CMD "pnpm" "run" "dev:run"
Context
OS version (is it docker or host?), ts-node-dev version
Did you try to run with --files option enabled? NO
Did you try to run with --debug option enabled? NO
Do you have a repro example (git repo) with simple steps to reproduce your problem?
I can provide it if necessary but I don't want to commit non working code if possible
The text was updated successfully, but these errors were encountered:
Issue description
Hello, i'm trying to run a node dev environment with tsnd. I'm using Docker
The hot reload feature (using
--respawn
) is not working while running inside the docker container. However, everything's working while running on the host machineThere is a volumes mounted between the host machine and the container and the code is correctly updated inside the docker container (with docker compose)
Here is the command that i run:
"tsnd -r tsconfig-paths/register --env-file=common/environment-variables/development/.env --respawn src/entrypoint.ts"
Here is my Dockerfile:
Context
OS version (is it docker or host?), ts-node-dev version
Did you try to run with ts-node? NO
Did you try to run with
--files
option enabled? NODid you try to run with
--debug
option enabled? NODo you have a repro example (git repo) with simple steps to reproduce your problem?
I can provide it if necessary but I don't want to commit non working code if possible
The text was updated successfully, but these errors were encountered: