mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
26 lines
699 B
JavaScript
26 lines
699 B
JavaScript
/*
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
* http://paperjs.org/
|
|
*
|
|
* Copyright (c) 2011 - 2020, Jürg Lehni & Jonathan Puckey
|
|
* http://juerglehni.com/ & https://puckey.studio/
|
|
*
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
*
|
|
* All rights reserved.
|
|
*/
|
|
|
|
var gulp = require('gulp'),
|
|
path = require('path'),
|
|
gutil = require('gulp-util');
|
|
|
|
gulp.task('watch', function () {
|
|
gulp.watch('src/**/*.js', ['jshint'])
|
|
.on('change', function(event) {
|
|
gutil.log(
|
|
gutil.colors.green('File ' + event.type + ': ') +
|
|
gutil.colors.magenta(path.basename(event.path))
|
|
);
|
|
});
|
|
});
|
|
|