Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johnbiundo/nest-mono-issue


https://github.com/johnbiundo/nest-mono-issue

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        


Nest Logo

[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.



NPM Version
Package License
NPM Downloads
Travis
Linux
Coverage
Gitter
Backers on Open Collective
Sponsors on Open Collective



## 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 work

Note: 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.