Hey cake,
I don’t want to tell you bad info. Hopefully we can beg someone else to chime in with a better answer.
I am not sure on running it with rw dev
, besides trying something like yarn rw dev && yarn rw exec <script>
.
For updating deploy scripts: I link you to this discussion, for serverless deploy like Vercel. It might help you with that or similar options.
With baremetal deploy, you can look at this doc for help with inserting custom commands.
So, I will ask - where/how are you deploying?