I have something like the parent suggests and yes, the article's idea is better because you don't need to do anything manual nor remember to run your own command at all.