How did the Heavenly Dao Sect know about this matter?
The alliance between the Great Desolate Sect and other sects was a secret one. All of their disciples were only notified before entering the Desolate Secret Realm. Once inside, they were given orders to execute any disciples of the Heavenly Dao Sect on sight, no matter who they encountered.
Right at that moment.
Chapter 187