What’s the easiest way to develop / test changes t...
# help
d
What’s the easiest way to develop / test changes to
StaticSite.ts
?
t
By changes you mean you're playing with the code inside sst?
d
There is a bug relating to StackSite I’d like to try putting a PR in for… just curious what the easier/typical workflow is to integration test the changes.
t
Gotcha, if you're using yarn (this works with npm too just forgetting if it's exactly the same) you can go into your fork into the resources folder and do
yarn link
Then you can go into your project and do
yarn link @serverless-stack/resources
make sure you build it
And then your project will be referencing your local version of sst
d
ah.. .just yarn link it…. gotcha
thanks
@thdxr doesn’t seem to be a watch in the packages or the root, just need to manually run build in the package root each time?
t
You can run yarn watch in the root
d
shoot…. sorry… not sure how I missed it
t
np it's a complicated project 😄
d
tested and it fixed the issue.
t
I have to set the label but thanks! Will take a look and get it merged
d
thanks!