Open Bestulo opened 2 years ago
@Bestulo I just pushed a new version, would you mind checking if that one works?
You do need to use yarn in that case, seems to be an issue with postcss-cli :(
It can now turn on well, but it doesn't re-compile the Tailwind styles when the html file is saved.
In order to recompile the CSS, you need to close the process and turn it on again. I think the problem is "dev" has "build" as a one-time thing.
I tried the following and it didn't work:
{
"scripts" {
"build": "postcss styles.css -o src/styles.css",
"build:watch": "postcss styles.css -o src/styles.css -w,
"dev": "npm run build:watch && live-server src --port=8080"
}
}
I also tried with concurrently
and it didn't work. I'll probably end up using gulp, but I've noticed it takes around 2 second to compile. :C Idk.
Steps I followed
I get this error: