The companion app to Script Kit
npm i
npm run dev
If you make a change in the main dir/process, you'll need to stop and run npm run dev again.
If you make a change in the renderer, it should attempt to hot reload. If that fails, cmd+w to close the window, and open a new one.
You'll have to Google for your specific issues. On mac, it's usually update xcode command line tools.
@see - https://stackoverflow.com/questions/77251296/distutils-not-found-when-running-npm-install
If you're using homebrew for Python (or python 3.12), you'll need to install the setuptools to be able to run npm i
brew install python-setuptools
Putting this here in case anyone has trouble with node-gyp while setting up a dev environment on Windows. I had to install the following using the Visual Studio Installer:
Desktop Development with C++ workload MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest) MSVC v143 - VS 2022 C++ x64/x86 Spectre-mitigated libs (Latest)
This got it working for me.
When rebuilding the Kit SDK, also run:
npm run clear-cache
This is due to Vite not picking up on some changes to a linked SDK.