dev-master
9999999-dev https://github.com/ViliamKopecky/NetteRistrettoHelper using Ristretto livereload in Nette apps.
MIT
The Requires
- php >=5.3.0
livereload nettefw ristretto
Wallogit.com
2017 © Pedro Peláez
Helper using Ristretto livereload in Nette apps.
Adds connection from Nette to Ristretto, (*1)
Firstly get familiar with Grunt.js and RistrettoExample, (*2)
// Application startup Ristretto::register($port = 2013, $container->application); // or even better Ristretto::register($filepath = __DIR__ . '/../ristretto.json', $container->application);
# or in config.neon simply as this:
extensions:
ristretto: Ristretto\Extension
# it automatically looks for config file `%appDir%/../ristretto.json`
# and loads Ristretto's port from there
Helper using Ristretto livereload in Nette apps.
MIT
livereload nettefw ristretto