[fix] rename clientscriptAPI.js -> client_script_helpers.js

This commit is contained in:
Rushabh Mehta 2017-11-29 11:19:32 +05:30
parent 5fc14ee745
commit cfb34ca5d6
3 changed files with 5 additions and 2 deletions

View file

@ -283,7 +283,10 @@ function watch_less(ondirty) {
}
function watch_js(ondirty) {
const watcher = chokidar.watch(path_join(apps_path, '**', '*.js')).on('change', (filename, stats) => {
chokidar.watch([
path_join(apps_path, '**', '*.js'),
path_join(apps_path, '**', '*.html')
]).on('change', (filename) => {
// build the target js file for which this js/html file is input
for (const target in build_map) {
const sources = build_map[target];

View file

@ -264,7 +264,7 @@
"public/js/frappe/form/templates/form_links.html",
"public/js/frappe/views/formview.js",
"public/js/legacy/form.js",
"public/js/legacy/clientscriptAPI.js",
"public/js/legacy/client_script_helpers.js",
"public/js/frappe/form/toolbar.js",
"public/js/frappe/form/dashboard.js",
"public/js/frappe/form/document_flow.js",