Skip to content

Commit

Permalink
Workaround for livereload @import bug
Browse files Browse the repository at this point in the history
Gets rid of the annoying

    [2021-06-04 10:27:26] ERROR `/font-raleway.css' not found.

because livereload incorrectly handles relative @import in CSS.

Related: lepture/python-livereload#248
  • Loading branch information
liskin authored and slotThe committed Dec 11, 2021
1 parent 27698b4 commit 72f8e45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion css/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@import "font-raleway.css";
---
---
@import "{{ "/css/font-raleway.css" | relative_url }}";

background {
background-color: yellow;
Expand Down

0 comments on commit 72f8e45

Please sign in to comment.