Hello, I’ll first describe the project and repo structure and then our specific problem:
github repo/
/netlify.toml
/package.json
/app/
/package.json
/docs/
document.md
This appears to be a monorepo but it isn’t. The root package.json file is not related in no way to the app/package.json file. We have Netlify connected to that repository and the app we are deploying is under /app, so in the netlify.toml file we have the base folder option set to app. Everything works great.
The problem came up when in our app build we needed to parse files located under /docs. Since the base folder is set to /app, when there are changes on any markdown document located under /docs, Netlify’s build is canceled due to no changes detected. I thought about changing the base folder to point to the root folder, but that will make Netlify pick the root package.json and that’s not what we want. We can’t at this point do structure changes to that repo as we don’t own it and there are other tools that depend on this structure.
Thoughts?
Thanks