-
Notifications
You must be signed in to change notification settings - Fork 471
Open
Labels
Milestone
Description
Currently, running rescript clean path/to/parent/config
in a sub-package folder will clean the entire project root.
my-monorepo/
├── rescript.json
├── packages/
│ ├── package-1/
│ │ ├── rescript.json
│ │ ├── src/
│ ├── package-2/
│ │ ├── rescript.json
│ │ ├── src/
│ ├── ...
For example:
package-2> rescript clean ../..
This command cleans both projects.
This behavior might not be desirable, as we are likely only looking to clean the current folder and its dependencies or the dependent project.
What is the expected behavior here?
//cc @jfrolich