Currently you aren’t able to auto expand sub tasks. When you save your view it also doesn’t take into consideration whether subtasks are expanded or not.
You might upvote this feedback: Ability to expand/contract all subtasks in task list at once
The hope would be that the following feedback, if implemented, would take into consideration which subtasks are expanded: User-level "save layout as default"