Skip to content

Instantly share code, notes, and snippets.

View donhenton's full-sized avatar

Don Henton donhenton

View GitHub Profile
@donhenton
donhenton / gulpfile for tomcat update
Last active April 27, 2017 14:31
gulpfile to update tomcat when changes take place
/**
*
* @type Module gulp|Module gulp
* gulp file that will monitor files in the src tree and then move them
* to the tomcat instance. In effect a poor-man's JRebel
*
* Your tomcat server needs to be running and to see the changes
* This script will also refresh one page of your choice specified in the
* refresh page. Refreshing the page requires installation of the chrome
* live reload plugin
@donhenton
donhenton / GulpFile for Monitoring Node App
Last active March 11, 2016 14:23
gulp file for frontend and backend monitoring of a node app using nodemon for backend
var gulp = require('gulp');
var sass = require('gulp-sass');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var watch = require('gulp-watch');
var livereload = require('gulp-livereload');
var tap = require('gulp-tap');
var nodemon = require('gulp-nodemon');
var path = require('path');
var gutil = require('gulp-util');