소스 검색

build: Pass watchFiles list to auto trigger rebuild process on template change

version-14
Suraj Shetty 3 년 전
부모
커밋
ccb4475411
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      esbuild/frappe-html.js

+ 2
- 1
esbuild/frappe-html.js 파일 보기

@@ -20,7 +20,8 @@ module.exports = {
.then(content => {
content = scrub_html_template(content);
return {
contents: `\n\tfrappe.templates['${filename}'] = \`${content}\`;\n`
contents: `\n\tfrappe.templates['${filename}'] = \`${content}\`;\n`,
watchFiles: [filepath]
};
})
.catch(() => {


불러오는 중...
취소
저장