connect-assetmanager icon indicating copy to clipboard operation
connect-assetmanager copied to clipboard

Force generateCache to run on every request

Open cdeutsch opened this issue 13 years ago • 1 comments

Every time I change a javascript file or CSS file it takes two refreshes for it to appear in the browser. It looks like fs.watchFile picks up the change (running OSX) but generateCache is being called after the old content is already served.

cdeutsch avatar May 13 '12 17:05 cdeutsch

I had a pull request that changed fs.watchFile to use the new fs.watch api. Does it still happen with this?

dawnerd avatar Jun 14 '12 23:06 dawnerd