Skip to content

Instantly share code, notes, and snippets.

View adnasa's full-sized avatar
💐

Adnan Asani adnasa

💐
View GitHub Profile
@adnasa
adnasa / gist:444a4f1ea3868c514cf7
Created November 4, 2015 18:42 — forked from gjjones/gist:14ff3f528b3253b59525
storing gruntifle using browsersync and browserify for react(jsx)
var browserSync = require('browser-sync');
module.exports = function (grunt) {
grunt.initConfig({
watch: {
options: {
spawn: false
},
compiled: {
files: ['app/build/bundle.js'],
/*! Js Pub/Sub
* http://anasnakawa.com/
* Copyright (c) Anas Nakawa
* inspired by Ben Alman's one <https://gist.github.com/cowboy/661855>
* MIT License
*/
(function( p ) {
var e = p.e = {};