Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bo Kingo Damgaard 156 posts 455 karma points
    Aug 02, 2013 @ 16:17
    Bo Kingo Damgaard
    0

    Optimus not detecting changes to css files

    I don't know if it's by design, or I'm doing it wrong, but Optimus doesn't detect changes to css files (maybe js files too), until I reboot the site.

    Should I set debug=true while developing, or am I missing something?

    It would be nice if it happened automatically :)

    /Bo

  • Tim Geyssens 6524 posts 15306 karma points MVP 2x c-trib
    Oct 01, 2013 @ 18:16
    Tim Geyssens
    0

    Yeah true, feature request ;)

  • Jeavon Leopold 3005 posts 13194 karma points MVP 7x admin c-trib
    Oct 21, 2013 @ 20:35
    Jeavon Leopold
    101

    Hi Bo,

    I added a new setting in bundles.config in v1.1 called ignoreCompilationDebug, set this to false, restart your application. Now Optimus will obey compilation debug = true in the same way as asp.net bundling does normally and output each file individually making it easier to see issues and is live to changes. Set compilation debug to back to false and bundling will be back.

    Not quite the same as clearing the cache when a file is updated but probably better for development as you see which file is doing what.

    Jeavon

  • Bo Kingo Damgaard 156 posts 455 karma points
    Oct 21, 2013 @ 22:23
    Bo Kingo Damgaard
    0

    Hi Jeavon

    Thanks, thats will be enough. It's probably faster than bundling each time

    /Bo

Please Sign in or register to post replies

Write your reply to:

Draft