When does public/assets decide to recompile
Closed this issue · 4 comments
I am seeing some strange behavior trying to get scss working. I have a web/assets/stylesheets/application.css.scss file that I can delete then entire contents of and a refresh with cache disabled won't show that I have deleted anything. The old css file is served up. If I then put a link to a stylesheet that cannot be found,
<%= stylesheet 'application'%>
<link href="assets/stylesheets/application.css" type="text/css" rel="stylesheet">
and refresh two times, I will get the new compiled style sheet served up. I am getting the same behavior when adding to my sass file.
Is this something borked on my end?
@Jeff-Hostetler Hey Jeff, I'm sorry about this problem. I can confirm it affects my dev process too with simple stylesheets. I'm using Hanami HEAD. Which version are you using?
I just started the project yesterday so I think I am on HEAD.
hanami-assets 0.2.1
hanami 0.7.3
@Jeff-Hostetler These are the stable versions. To use HEAD: https://github.com/hanami/hanami#how-to-use-hanami-head
I suspect that this problem was introduced by: