I’m getting Error 403 when trying to run watch for first time.
Console output:
discourse_theme watch .
» Using http://mywebsize.com/ from /Users/davidpesava/.discourse_theme
» Using api key from /Users/davidpesava/.discourse_theme
✘ Error 403 for https://mywebsite.com/about.json
Generated API key is for admin user, I tried --reset multipe times
Multiple people are using the CLI on a day-to-day basis, so I think this is unlikely to be a CLI bug. Can you try using the same API key from curl or something similar?
Ah, that would explain it. The theme CLI was recently migrated to use header-based API authentication. That is supported in all current versions of Discourse, including the stable branch.
If you are using an older version of Discourse, I strongly recommend you upgrade ASAP, so that you’re not missing any critical security/bug fixes.