Method | Description | |
---|---|---|
__construct ( |
Create Cache guard. | |
rebuild ( ) | Rebuild the cache, check to see if it's still valid and rebuild if it's outdated. |
public __construct ( |
||
$compiler | the compiler used to compile the assets using webpack | |
$dumper | Hostnet\Component\Webpack\Asset\Dumper | the dumper of the assets compiled by webpack |
$tracker | keeps track of the changes in the assets compared with last build | |
$logger | Psr\Log\LoggerInterface | used to write progress reports to (info & debug) |
public rebuild ( ) |