Skip to content

Commit 325e13a

Browse files
taeaclaude
andcommitted
Fix syntax highlighting CSS disappearing in watch mode
Import syntax-highlighting.css directly in tailwind.css instead of appending it via cat command in build-css script. This ensures syntax highlighting is preserved when using watch-css. Fixes #255 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent eb55c4d commit 325e13a

3 files changed

Lines changed: 547 additions & 132 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "Ruby Language Website Renewal with Tailwind CSS",
55
"scripts": {
6-
"build-css": "tailwindcss -i ./stylesheets/tailwind.css -o ./stylesheets/compiled.css && cat ./stylesheets/components/syntax-highlighting.css >> ./stylesheets/compiled.css",
6+
"build-css": "tailwindcss -i ./stylesheets/tailwind.css -o ./stylesheets/compiled.css",
77
"watch-css": "tailwindcss -i ./stylesheets/tailwind.css -o ./stylesheets/compiled.css --watch"
88
},
99
"devDependencies": {

0 commit comments

Comments
 (0)