每次进行更改后都重新启动 Spree?
现在刚刚进入施普雷。每次更改 CSS 时都必须重新启动服务器,是吗?有什么战略解决方法吗?
Just getting into Spree now. Is it true, you have to restart the server everytime you make a change to the CSS? Any strategic workarounds?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来它必须通过重新启动来更新的原因是因为我的CSS覆盖了Less的主CSS,并且只有当我重新启动服务器时才能看到,然后我的CSS通过初始值设定项运行。否则,如果我只是增强 CSS 的 Less 框架,那么它将在刷新时更新。
It seems that the reason it has to update by restarting is because my CSS overrides the main CSS which is Less, and can only be seen when I restart the server, and then my CSS is run through the initializers. Otherwise, if I just augment the Less framework for CSS, then it will update on refresh.