https://github.com/johnbiundo/nest-mono-issue
https://github.com/johnbiundo/nest-mono-issue
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/johnbiundo/nest-mono-issue
- Owner: johnbiundo
- Created: 2020-03-10T20:55:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:36:05.000Z (over 2 years ago)
- Last Synced: 2025-01-07T22:15:01.263Z (6 months ago)
- Language: TypeScript
- Size: 1.67 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest
A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
## Description
Demonstrates issue with monorepo. Once one project (default or otherwise) is started in watch mode, a second one will not be in watch mode.
## Installation
```bash
$ npm install
```## Steps
1. install :smiley:
2. run `nest start mono-test --watch` in one terminal
3. run `nest start app1 --watch` in another terminal
4. make changes to mono-test project, and see that watch mode works (webpack recompiles)
5. make changes to app1 project and see that watch mode does not workNote: if you reverse the order of steps 2 and 3, the effect is reversed (first one in watch mode "wins")
Update: switching compiler to `tsc` "fixes" the problem.