This time, it doesn’t count.
But you should still probably watch anyway.
For the first time in 15 seasons, the winner of the All-Star game will not determine home field advantage in the World Series. They’re playing purely for pride, as they did prior to 2002. It remains to be seen whether this will lead to a reduced interest amongst viewership; the impact on the players themselves is negligible.