You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
I have my coffeescript in source/scripts/site.coffee.
When I initially put it there and do hexo generate it generates a file to public/scripts/site.js, which is correct.
However, when I edit source/scripts/site.coffee then public/scripts/site.js is never regenerated, even though hexo says it is updated, the content of the js stays the same. I need to manually delete the js file and do hexo generate again to have the content updated.
I've worked around my issue with a grunt setup, but it would be nice if this could be solved.
The text was updated successfully, but these errors were encountered:
phred:philippkeller philipp$ l themes/ewal/source/scripts/site.coffee
-rw-r--r-- 1 philipp staff 326 Jun 5 07:21 themes/ewal/source/scripts/site.coffee
phred:philippkeller philipp$ l public/scripts/site.js
-rw-r--r-- 1 philipp staff 518 Jun 5 07:17 public/scripts/site.js
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have my coffeescript in
source/scripts/site.coffee
.When I initially put it there and do
hexo generate
it generates a file topublic/scripts/site.js
, which is correct.However, when I edit
source/scripts/site.coffee
thenpublic/scripts/site.js
is never regenerated, even though hexo says it is updated, the content of the js stays the same. I need to manually delete the js file and dohexo generate
again to have the content updated.I've worked around my issue with a grunt setup, but it would be nice if this could be solved.
The text was updated successfully, but these errors were encountered: