Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sass 修改后无法正常编译 #14

Open
modifMX opened this issue Oct 30, 2018 · 4 comments
Open

sass 修改后无法正常编译 #14

modifMX opened this issue Oct 30, 2018 · 4 comments

Comments

@modifMX
Copy link

modifMX commented Oct 30, 2018

sass 是不是需要sass 编译器独立编译鸭。

@liuzc
Copy link
Owner

liuzc commented Oct 31, 2018

你看下是不是这个问题:#1

@modifMX
Copy link
Author

modifMX commented Nov 1, 2018

我并不是这个问题,我没有其他报错信息。
postcss 和 sass 不管 node-sass 和 Ruby-sass less 我都安装了。
我在新建主题中使用可以正常编译,但是在LeaveIt 中我发现我修改scss 文件,但是main.css 并没有改变。

我运行调试使用
hugo server -wDEF --disableFastRender --navigateToChanged

大概我有哪里搞错,希望提供一下你是如何编译 sass

@liuzc
Copy link
Owner

liuzc commented Nov 1, 2018

我没并有特别的配置。

~ hugo env
Hugo Static Site Generator v0.49/extended darwin/amd64 BuildDate: unknown
GOOS="darwin"
GOARCH="amd64"
GOVERSION="go1.11"

那你删除一下生成的main.css后看能否再自动生成这个文件。

@AnonymKing
Copy link

需要安装那个hugo extended的版本才能编译Sass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants