Skip to content

Massive lag and load times with a large Nx workspace for web apps (ts/ tsx). #2460

Open
@ShacharZ1

Description

@ShacharZ1

Current Behavior

When using the "Nx console" extension we are experiencing massive lags and load times of file changes and app restarts.
The lag is noticeable in the following:

  • TS server load for a long time (types checks, intellisense, import path, and everything else related is not working while loading);
  • NX command UI does not show up (CLI still works)

Expected Behavior

Load times should remain the same or close to the experience without the extension

Steps to Reproduce

I assume the way to reproduce the issue to create a large workspace with lots of typescripts files.

Environment

Web workspace:

  • Multiple frontend apps (Next.js)

  • Multiple frontend libs (react libs)

  • Multiple backend apps (Nest)

  • Multiple backend services and modules, based on nest guidelines.

  • Prisma ORM

  • Everything is in Typescript

  • Nx Console version: 18.44.1

  • VSCode version: 1.98.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions