[READ-ONLY] Subtree split of the Kunstmaan LiveReloadBundle -- master at Kunstmaan/KunstmaanBundlesCMS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DependencyInjection
EventListener
Resources/config
.gitignore
.travis.yml
KunstmaanLiveReloadBundle.php
LICENSE
README.md
build.xml
composer.json
phpunit.xml.dist

README.md

KunstmaanLiveReloadBundle

Build Status Total Downloads Latest Stable Version Analytics

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.