Skip to content

Instantly share code, notes, and snippets.

View anthumchris's full-sized avatar
🎶
learning Ableton Live

anthumchris

🎶
learning Ableton Live
  • Colorado, United States
View GitHub Profile
@dylanscott
dylanscott / gulpfile.js
Created August 15, 2016 15:35
gulp tsc --watch
const gulp = require('gulp')
const gutil = require('gulp-util')
const path = require('path')
const spawn = require('child_process').spawn
const split = require('split')
const prettyHrtime = require('pretty-hrtime')
const TSC_LINE = /\d{1,2}:\d{1,2}:\d{1,2} [AP]M - (.+)/
const TSC_ERROR = /(.+?: )(.+)/
gulp.task('watch:typescript', function(cb) {