My apologies upfront for being so verbose. I just want to make sure I explain what I think what should happen is correct.
I just did the test again, because I don’t remember the files I did earlier. The first image is the JS file edited. I edited conf.js, the console shows that conf.js is dirty, and it writes out erpnext.min.js. As I would expect. But speaking of what I expect, let me confirm what I am thinking is the way it really works.
For example, when I edited conf.js, it wrote erpnext.min.js becuase in the build.json file:
conf.js is part of the value of the key “js/erpnext.min.js” (not sure if the wording is correct on that)". So when edited, it writes out erpnext.min.js because “watch” sees that conf.js is dirty, so it needs to rewrite erpnext.min.js.
erpnext.min.js gets added to the app, because of the line in hooks.py
app_include_js = "assets/js/erpnext.min.js"
Is this correct?
Screen shot below of the successful rewrite of erpnext.min.js.
Then I moved on to the css file. I edited website.css in the frappe app. In the build.json file:
I would expect when "website.css becomes dirty, it would rewrite "frappe-web.css, and be added in the app becuase in hooks.py, it has line:
web_include_css = [
But as you can see in the screenshot below, when I edit website.css by adding
But the console shows nothing and file “frappe-web.css” is not updated. See below.