Fix watch task when using EJS.