Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions markdown-pages/docs/manual/build-monorepo-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Setting up a monorepo"
metaTitle: "Setting up a monorepo"
description: "Setting up a monorepo"
canonical: "/docs/manual/build-monorepo-setup"
section: "Build System"
order: 5
---

# Setting up a monorepo with ReScript
Expand Down
6 changes: 3 additions & 3 deletions markdown-pages/docs/manual/build-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Run `rescript <subcommand> -h` for subcommand help. Examples:

Each build will create build artifacts from your project's source files.

**To build a project (including its dependencies / pinned-dependencies)**, run:
**To build a project (including its dependencies)**, run:

```sh
rescript
Expand All @@ -60,9 +60,9 @@ rescript -w

Any new file change will be picked up and the build will re-run.

**Note**: third-party libraries (in `node_modules`, or via `pinned-dependencies`) aren't watched, as doing so may exceed the node.js watcher count limit.
**Note**: third-party libraries in `node_modules` aren't watched, as doing so may exceed the node.js watcher count limit.

**Note 2**: In case you want to set up a project in a JS-monorepo-esque approach (`npm` and `yarn` workspaces) where changes in your sub packages should be noticed by the build, you will need to define pinned dependencies in your main project's `rescript.json`. More details [here](./build-monorepo-setup.mdx).
For monorepo setup in ReScript 12+, see [Setting up a monorepo](./build-monorepo-setup.mdx).

## Clean Project

Expand Down
Loading