Autoreload broken
Created by: micru
Hi, first of all, thanks for the great work!
Unfortunately the auto_reload option does not seem to work.
Each template gets rendered once, but no changes in the template are getting applied when re-rendering. Only when the app gets restarted.
This is how i configured it. No custom Extension or any further configuration done so far.
const loader = new TwingLoaderFilesystem(path.join(process.cwd(), '../views'));
const twing = new TwingEnvironment(loader, {
debug: true,
auto_reload: true
});
Node: v8.11.1 Twing: 1.0.0