handlebars-iron icon indicating copy to clipboard operation
handlebars-iron copied to clipboard

Examples are outdated

Open ZelphirKaltstahl opened this issue 7 years ago • 2 comments

There is a problem with the examples for watching templates https://github.com/sunng87/handlebars-iron/blob/master/examples/watch_server.rs .

no method named `watch` found for type `std::sync::Arc<hbs::HandlebarsEngine>` in the current scope

ZelphirKaltstahl avatar Oct 31 '17 20:10 ZelphirKaltstahl

@ZelphirKaltstahl I cannot reproduce this issue from my codebase. Do you have --features watch enabled?

sunng87 avatar Nov 01 '17 14:11 sunng87

I think I did not have it enabled (command line switch?). I used the crates.io most recent version.

ZelphirKaltstahl avatar Nov 10 '17 20:11 ZelphirKaltstahl