title: How load a local CSS file to specific site
body: <p>I'm looking for a way to make the function GM_addStyle add CSS straight from the @resource on my local drive (I use macOS). My goal is to speed up the development of this CSS file.</p>
  
  <p>Right now I'm copy&amp;pasting changes to Tampermonkey > saving the userstyle &amp; reloading the page.</p>
  
  <p>Not working:</p>
  
  <pre><code>// ==UserScript==
  // @name my style
  // @version 0.1
  // @description a few friendliness tweaks
  // @author thomas
  // @match http://stackoverflow.com/*
  // @resource my_style file:///Users/thomas/style.css
  // @grant        GM_addStyle
  // ==/UserScript==
  
  (function() { 'use strict'; GM_addStyle(GM_getResourceText('my_style')); })();
  </code></pre>
  
  <p>Thanks</p>