How does the file supervisor work? #100
-
After reading the docs, I think I have an idea of how this package should work. Please correct any wrong assumptions. What I'm thinking this package will achieve is reduced build times locally due to For example, if I have a workspace with the package |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Currently it looks at the There’s a ticket #3 is open to allow for more detailed customised options. I want to allow you to define the input and output folders for your build in Additionally, the supervisor itself keeps a file |
Beta Was this translation helpful? Give feedback.
-
After I run |
Beta Was this translation helpful? Give feedback.
-
It was renamed in a recent commit https://github.com/ojkelly/yarn.build/blob/trunk/packages/plugins/plugin-build/src/commands/supervisor/index.ts#L25 to |
Beta Was this translation helpful? Give feedback.
Currently it looks at the
main
script inpackage.json
to determine the build folder.There’s a ticket #3 is open to allow for more detailed customised options. I want to allow you to define the input and output folders for your build in
package.json
.Additionally, the supervisor itself keeps a file
.yarn/local-build-cache.json
. This keeps track of thelastModified
time of the package folder, excluding the build output.