Change batch files loading via Nette\Finder? #57

Open
janmarek opened this Issue Jan 29, 2014 · 2 comments

Comments

Projects
None yet
3 participants
Owner

janmarek commented Jan 29, 2014

List of files to load is determined on Nette DIC compile time when files are loaded by

- {files: ["*.css", "*.less"], from: %appDir%/presenters}

This means that new files are not added immediately when new file is created. Nette DIC cache has to be invalidated in this situation.

On the other side, resolving file list on compile time does not slow down each http request.

Collaborator

fprochazka commented Jan 29, 2014

To me, it's a feature. In debug mode, we could make it checking for files on every request, but in production mode it should be resolving on compile-time.

Contributor

bckp commented Feb 10, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment