Staging files are updated when a change is made. The update happens more or less immediately (within a few minutes of when the change was made in DTM).
Production files are updated when changes are published. This update can take anywhere from 1 minute to an hour.
To test if the library has updated, type in _satellite.buildDate in the web console and hit enter. The response shows the time and date the file was last updated.