You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Smithy project, for which I have written a codegen script. I have then added this script to the project where the Smithy sources reside, and running the codegen works fine.
Now, if I do bleep sourcegen -w shared, where shared is the project with the Smithy sources, it doesn't retrigger the codegen script when I change any of the smithy files, even though the the smithy folder is added as a source root in my bleep.yaml.
move the sources: ./src/smithy to scripts project. changing thing in the shared project shouldn't affect the sourcegen in another project
another options is that the sourcegen structure supports a sourceGlobs field, which are for other files read by the sourcegen script outside of the build. I think this is relative to the project folder for shared
It would be great if you can experiment a bit with two options and report back, so we can update the docs
This works well, and the sourceGen is fast enough so no complains here.
This feels like it should work. The description of sourceGlobs says that it is relative to the project of the script. So for me, I should add a sourceGlobs: ../shared/src/smithy to it. That however, doesn't seem to have any effect. Neither does sourceGlobs: ./src/smithy, assuming it's relative to the shared project and not the scripts project.
I have a Smithy project, for which I have written a codegen script. I have then added this script to the project where the Smithy sources reside, and running the codegen works fine.
Now, if I do
bleep sourcegen -w shared
, whereshared
is the project with the Smithy sources, it doesn't retrigger the codegen script when I change any of the smithy files, even though the thesmithy
folder is added as a source root in mybleep.yaml
.As show:
Not sure if I'm doing something wrong or missing a piece of configuration. Any help is appreciated :D
The text was updated successfully, but these errors were encountered: