.build file not found error

I have faced this error:

Traceback (most recent call last):
21:57:00 web.1            |   File "/Users/navdeepghai/navdeep/navdeep-dev-erp/apps/frappe/frappe/website/context.py", line 48, in update_controller_context
21:57:00 web.1            |     ret = module.get_context(context)
21:57:00 web.1            |   File "/Users/navdeepghai/navdeep/navdeep-dev-erp/apps/frappe/frappe/www/desk.py", line 39, in get_context
21:57:00 web.1            |     "build_version": get_build_version(),
21:57:00 web.1            |   File "/Users/navdeepghai/navdeep/navdeep-dev-erp/apps/frappe/frappe/www/desk.py", line 83, in get_build_version
21:57:00 web.1            |     return str(os.path.getmtime(os.path.join(frappe.local.sites_path, '.build')))
21:57:00 web.1            |   File "/Users/navdeepghai/navdeep/navdeep-dev-erp/env/bin/../lib/python3.7/genericpath.py", line 55, in getmtime
21:57:00 web.1            |     return os.stat(filename).st_mtime
21:57:00 web.1            | FileNotFoundError: [Errno 2] No such file or directory: './.build'

and Resolve it by adding new .build file in sites folder.

Eg:
create new blank file using: vim ./sites/.build and save it.
After saving the file then build the assets using bench build command.
and restart the supervisor using sudo supervisorctl restart all to restart the server.

Resolve it by adding new .build file in sites folder.

Eg:
create new blank file using: vim ./sites/.build and save it.
After saving the file then build the assets using bench build command.
and restart the supervisor using sudo supervisorctl restart all to restart the server.