WebLoader icon indicating copy to clipboard operation
WebLoader copied to clipboard

Change batch files loading via Nette\Finder?

Open janmarek opened this issue 11 years ago • 2 comments
trafficstars

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.

janmarek avatar Jan 29 '14 16:01 janmarek

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.

fprochazka avatar Jan 29 '14 17:01 fprochazka

@fprochazka +1

bckp avatar Feb 10 '14 10:02 bckp