I am using slim for a project outside rails. I see that slimrb gives options to compile the templates to html from command line.
1) However is there a way to compile a complete view directory to html.
2) Also is it possible to watch for changes and, continuously update the generated html, like what compass does for .scss files.
1) To compile all files in a directory from slim to html
cdinto it and typeslimrb *and then hit tab to expand*into all filenames in that directory. Since it is a view directory there should be no other files then *.slim2) Slim itself doesn’t imlement this, but it shouldn’t be too hard to write a script which listens for filesystem events and triggers based on which file was changed the
slimrbexecutable.