kunstmaan / live-reload-bundle
The KunstmaanLiveReloadBundle injects the livereload script from grunt-contrib-watch into your html page.
Installs: 27 519
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 16
Forks: 2
Type:symfony-bundle
Requires
- php: >=5.4.0
- guzzle/guzzle: ~3.9
- symfony/framework-bundle: ~2.3
- dev-master / 4.0.x-dev
- 4.0.0-RC1
- 3.5.x-dev
- 3.5.1
- 3.5.0
- 3.4.x-dev
- 3.4.2
- 3.4.1
- 3.4.0
- 3.3.x-dev
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.x-dev
- 3.2.6
- 3.2.5
- 3.2.4.1
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1.1
- 3.2.1
- 3.2.0
- 3.1.x-dev
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.x-dev
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.1
- v2.3
- v1.0.0
- dev-revert-1243-hotfix/generator-translations
- dev-sf3
- dev-fix-sensiolabs-insight
This package is auto-updated.
Last update: 2024-10-29 04:59:07 UTC
README
The KunstmaanLiveReloadBundle makes your life easier by injecting the livereload script snippet from the grunt-contrib-watch plugin into your html in the dev environment. Please refer to the documentation from grunt-contrib-watch to see how to configure livereload then use this bundle to automaticly inject the livereload snippet into your html in the dev environment.
More information about our bundles: http://bundles.kunstmaan.be.
Installation?
composer.json
"require": { "kunstmaan/live-reload-bundle": "1.0.*" },
AppKernel.php:
public function registerBundles() { $bundles = array( // ... new Kunstmaan\LiveReloadBundle\KunstmaanLiveReloadBundle(), // ... );
Configure your Gruntfile to watch certain files using grunt-contrib-watch and don't forget to set the livereload option to true
.
Configuration
There are certain configuration options available for this bundle
kunstmaan_live_reload: enabled: true host: localhost port: 35729
By default the default options from grunt-contrib-watch are used.