Netlify Functions
Lambda functions to support Netlify apps.
Setup
yarn
yarn build
refreshSplitTest
Turns the running Split Test off and on again. Run this after every successful deploy. This ensures that the latest code is served in the split. This is currently necessary to get around a shortcoming of the Split Test feature, which will likely be fixed when the feature comes out of beta:
There is a condition right now that means you have to disable and re-enable the split test if you want to update the deploy it is serving (e.g. you start the test, update master, must stop+start to get the new master served). - Chris (Netlify Support)