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
I am new to Guard-haml. I just installed it to execute haml conversion for me but it fails strangely. I had this configuration:
guard :haml, output: 'src/templates', input: 'src/haml' do
watch %r{^src/haml/[a-zA-Z]+.haml}
end
First of all, I used emacs to edit files. Once I edit and save a haml file. Guard reports:
18:00:59 - ERROR - HAML compilation of src/haml/.#index.haml failed!
[#] Error: No such file or directory - src/haml/.#index.haml
18:01:00 - INFO - Successfully compiled haml to html!
[#] # src/haml/index.haml -> src/templates/index.html
18:01:00 - INFO - Successfully compiled haml to html!
[#] # src/haml/index.haml -> src/templates/index.html
18:01:00 - ERROR - HAML compilation of src/haml/.#index.haml failed!
[#] Error: No such file or directory - src//haml/.#index.haml
I checked src/templates/index.html and found my changes were not translated at all, meaning the report was false. Nothing was done actually.
And the strange thing is: "src/templates" was originally added svn. After executing guard-haml, my directory "src/haml" was not recognized by svn anymore..
Any comments?
C
The text was updated successfully, but these errors were encountered:
Hi, that's because the watchers generated automatically when the :input option is specified where not strict enough about the filename format (it allowed any chars... instead of just \w, - and _), I've fixed this.
I am new to Guard-haml. I just installed it to execute haml conversion for me but it fails strangely. I had this configuration:
guard :haml, output: 'src/templates', input: 'src/haml' do
watch %r{^src/haml/[a-zA-Z]+.haml}
end
First of all, I used emacs to edit files. Once I edit and save a haml file. Guard reports:
I checked src/templates/index.html and found my changes were not translated at all, meaning the report was false. Nothing was done actually.
And the strange thing is: "src/templates" was originally added svn. After executing guard-haml, my directory "src/haml" was not recognized by svn anymore..
Any comments?
C
The text was updated successfully, but these errors were encountered: