serve()
serve()
Compile requested scss and serve css. Outputs HTTP response.
SCSS server
__construct(string $dir, string $cacheDir, \scssc|null $scss)
Constructor
| string | $dir | Root directory to .scss files |
| string | $cacheDir | Cache directory |
| \scssc|null | $scss | SCSS compiler instance |