I am using the default (uncommented-out) deploy-hooks/build-before.yml, and the deploy (including build) runs successfully (according to stdout), but the dist directory that’s getting loaded off the staging server isn’t being updated.
Progress. It’s only in browsersync that I’m seeing the changes I am making.
The local dist production matches the remote!
So why is what’s being rendered in browsersync not being compiled when I run yarn run build:production?
When I ran yarn run start again I see my changes at example.test.
Then I deploy and they are gone again.
UPDATE: I noticed that when running yarn run build:production the same files were being “generated”. I made a change to a file and ran again and then new files were generated. Still not sure what exactly I had done wrong.