How can I apply new changes when edit JS file in production?

You’ll be sorry if you don’t follow Robert’s advice and create a theme component.