FlowRouter.watchPathChange();- Returns {void}
Reactively watch the changes in the path. If you need to simply get the params or queryParams use methods like FlowRouter.getQueryParam().
Tracker.autorun(() => {
FlowRouter.watchPathChange();
const currentContext = FlowRouter.current();
// do something with the current context
});