Consider to use Violentmonkey instead of Greasemonkey. The idea is simple - you just start a local HTTP server for your script folder. Note the *Hard way* in this link https://violentmonkey.github.io/2017/03/14/How-to-edit-scripts-with-your-favorite-editor/ . However there is some trouble. If you don't save your script often then the proposed python http.server will increase update time and you will have to clear browser's cache to force update of your script in Violentmonkey.
Note I don't know if Greasemonkey has a similar feature. -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-users+unsubscr...@googlegroups.com. To post to this group, send email to greasemonkey-users@googlegroups.com. Visit this group at https://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/d/optout.