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

Change batch files loading via Nette\Finder? #57

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

Change batch files loading via Nette\Finder? #57

janmarek opened this issue Jan 29, 2014 · 2 comments

Comments

@janmarek
Copy link
Owner

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.

@fprochazka
Copy link
Collaborator

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.

@bckp
Copy link
Contributor

bckp commented Feb 10, 2014

@fprochazka +1

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

3 participants