- Tampermonkey - [Chrome Extension](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) - [Firefox Extension](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) - Stylus - [Chrome Extension](
npm install userstyle-dev-servernpm i -D userstyle-dev-server
userstyle-dev-server ./your/index/file.scss
// ==UserScript==
// @name UserStyle File-Reloader for Development
// @match https:///
// @require http://127.0.0.1:10000/client.js
// ==/UserScript==
`
4. Run your npm script and enjoy hot reloading of your userstyles
Usage (Build Output)
1. Create a build-File (for instance userStyle.definition.scss), which contains your userstyle declaration comment and import styles (see example below)
2. Create a npm script userstyle-dev-server --build ./src/userStyle.definition.scss
3. Run build script
4. (Optional) Create a Link to your built file in your Readme, so you can install your styles from the repo.
$3
`
/* ==UserStyle==
@name UserStyleName
@author Author
@version 1.0.0
==/UserStyle== */
@-moz-document regexp("https://google.com") {
@import 'style';
}
``