Skip to content

[FIX]: Refactor "run dev all" approach #423

Description

@LLEGIT

Observation: A commit message on package.json and .nxignore notes: [FIX]: watchman errors on run dev all.

The Issue: Running a command that attempts to watch the entire monorepo simultaneously often overloads OS file-watcher limits (like inotify or watchman), leading to heavy CPU usage and crashes.

Improvement: Instead of relying on a "run dev all" approach, configure your Nx setup to serve applications based on their dependency graph. You can use Nx's --projects flag or define more granular run targets so developers only boot up the specific microservices or apps they are actively working on.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions