miracle2k / webassets

Asset management for Python web development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debug Mode Seems To Ignore url_expire

rholloway opened this issue · comments

I'm trying to figure out how to generate raw single files (not bundled) and with original file names under development but can't seem to pull it off. If I set debug = True (the only way I know how to change configuration for bundles to output single files), then url_expire seems to be ignored and the output filenames are all _filename.js. If I set debug = False, then url_expire does what is expected, but it is back to using bundles (merge mode).

Ultimately the problem I am trying to solve is how to use webassets (Flask-Assets to be more specific) in conjunction with javascript debuggers. When the filenames change as part of debug mode, breakpoints are lost.