This PR makes it so if a local Mattermost server is listening on a unix socket, the plugin deploy scripts will use the local mode API instead of authenticating as a user. This makes it much easier to set up a development environment for working with plugins.
Summary
This PR makes it so if a local Mattermost server is listening on a unix socket, the plugin deploy scripts will use the local mode API instead of authenticating as a user. This makes it much easier to set up a development environment for working with plugins.
Ticket Link
Fixes https://github.com/mattermost/mattermost-plugin-starter-template/issues/107 https://mattermost.atlassian.net/jira/software/c/projects/MM/issues/MM-26997