nodeViews problems

in env,its true.But in prod,its false,when a custom node is selected,its nodeView doesnt excute SelectNode() function, why,would you have some suggestions?