Sha256: f007f4a17881bd8da84aac88c0a49bcba80f5427ff8e1a0dfa1c1db59956a7af
Contents?: true
Size: 455 Bytes
Versions: 8
Compression:
Stored size: 455 Bytes
Contents
'use strict' module.exports = function (grunt) { var browserSync = require('browser-sync') grunt.registerTask('browserSync-init', function () { var done = this.async() browserSync({ server: './docs', notify: false }, function (err, bs) { if (err) { console.log(err) } done() }) }) grunt.registerTask('browserSync-inject', function () { browserSync.reload(['docs/css/main.css']) }) }
Version data entries
8 entries across 8 versions & 2 rubygems