ligershark / WebOptimizer

A bundler and minifier for ASP.NET Core
Apache License 2.0
753 stars 113 forks source link

Bundle is not updated after include files are modified #259

Open boldleopard opened 1 year ago

boldleopard commented 1 year ago

The bundle is not updated after include files are modified.

Running .net core 6.0 on Win-x64 Using "publish to folder".

I've tried re-building the app, re-publishing, restarting app pool, restarting IIS, restarting the whole machine.

...but no luck. My min files still reflect the old, outdated code.

How do I fix this?

boldleopard commented 1 year ago

I found the problem. I forgot to delete the file "script.min.js" that we had from before we switched to weboptimizer. Apparently actual files override the pipline of WebOptimizer.