Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidation by dependencies #91

Closed
ghost opened this issue Mar 2, 2015 · 1 comment
Closed

Invalidation by dependencies #91

ghost opened this issue Mar 2, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 2, 2015

As far as I know, there isn't a way to invalidate the generated CSS/JS files in case not directly WebLoader included file changes. Those are, for example, files loaded via @import while using Less or sprite images loaded trough filter I develop these days.

My suggestion is to add an interface for filters supporting the modifications checkup. Let's say there is a method like getLastModified() called in debug mode returing unix timestamp of last modification of all files loaded via the specified filter - in case of sprites filter, the images or included Less files (since Less filter exposes the array of included files). I can make PR, but it will take few weeks, possibly. :)

@janmarek
Copy link
Owner

janmarek commented Mar 3, 2015

there is a discussion about it here #80, closing as duplicate

@janmarek janmarek closed this as completed Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant