[webui] make project_toggle_watch_path available for the engine