Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
watch_files('app/template.html', () => {
const template = create_template();
ontemplate(template);
// TODO reload current page?
});