Updates to web application on build changes


#1

I am comning to this question after reading this tutorial.
https://learn.chef.io/manage-a-web-app/windows/run-your-web-application-on-a-node/

The web application cook book downloads the package from a staging location(or artifcatory). In a continuous integration /Continuous deployment environment like team city, when developer checks in code new build triggers and package gets updated. How can we apply this updated package (new/updated dll) to the node? Should the node run chef-client periodically? If yes, it might just replace the dlls every time it runs which is not desired. Can chef server notify the node about a change and update the content?