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
###################
# BUILD FOR LOCAL DEVELOPMENT
###################
FROM node:18-alpine As development
WORKDIR /usr/src/app
COPY --chown=node:node package*.json ./
RUN npm ci
COPY --chown=node:node . .
USER node
docker-compose.yml
version: '2.13.0'services:
api:
build:
dockerfile: Dockerfilecontext: .# Only will build development stage from our dockerfiletarget: developmentvolumes:
- .:/usr/src/app
- /usr/src/app/node_modules# Run in dev Mode: npm run start:devcommand: npm run start:devports:
- 3000:3000
Node.js version
No response
In which operating systems have you tested?
macOS
Windows
Linux
Other
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behavior
use the listening mode in the docker container, and bind the volume, but modify the file under src, nest does not perform hot reload
Minimum reproduction code
https://github.com/Nundy/doesn-t-hot-reload-issue
Steps to reproduce
Expected behavior
wait for the docker container to be created and run nest, modify the main.ts file, the nest listener does not perform hot reloading
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
@9.3.1
Packages versions
package.json
Dockerfile
docker-compose.yml
Node.js version
No response
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: