Skip to content

@architect/sandbox with @architect/plugin-typescript #1331

Answered by ryanblock
cayter asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected, yes – and no, we would not want to restart the entire Sandbox due to a code change in src/shared. As for the TS plugin, it doesn't have any awareness of which Lambdas use your shared code, and which do not.

Moreover, the plugin doesn't have any general awareness of your particular shared code affordances, as that's something that's left up to your specific implementation. For example, you may use src/shared (the normal Architect convention), but someone else may use src/ts/shared, or src/ts-shared, etc. to separate their shared TypeScript from shared JavaScript. (See also: https://github.com/architect-examples/typescript-example#built-in--ts-friendly-approaches-to-shared…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cayter
Comment options

@ryanblock
Comment options

@cayter
Comment options

@cayter
Comment options

Answer selected by cayter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants