By far the easiest way would be to install directly to the virtual environment in editable mode.
For this, I'll assume you have OctoPrint installed on Windows 10, if not i'll add bits about remote deployment at the end.
- Activate the OctoPrint virtual environment:
- Make sure you are in your plugin's git repository (through cd or something) and run:
octoprint dev plugin:install
You can also substitute
octoprint dev plugin:install (if you don't have an octoprint dev env set up) with
pip install -e .
Deploying on a remote install (i.e. OctoPi)
If you are used to using VS Code, then you can use their remote - SSH to code directly on the Pi - clone the plugin, then install in the same way as above.
In theory, you can edit the JS files and then refresh, but OctoPrint does caching that means that the changes may not make it in. I believe there is a way of disabling this, but if you are running from VS Code itself, then you can just hit restart on the debugging process.
To be honest, I'm incredibly impressed you've managed to get such a great plugin, by manually installing for each change! Any other questions and I'll answer as best as I can!