Hi!
I am using a lerna monorepo with (at the moment) two projects within the “packages” folder as well as a “shared-components” folder in it that gets consumed from both apps.
So the structure is as follows:
- packages
- project-a
- project-b
- shared-components
- package.json
- lerna.json
I set up netlify to use packages/project-a as the base path and for the other site packages/project-b.
It is working just fine and when something changes in project-a only project A gets build and not all the apps.
Problem now is that when something changes in the “shared-components” folder the build gets cancelled as it is not part of the base directory.
Is it possible to fix this somehow?
Thanks in advance!
Greetings, Stefan