We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e2dea5 commit b95a793Copy full SHA for b95a793
gulpfile.ts
@@ -1,10 +1,14 @@
1
// noinspection JSUnusedGlobalSymbols
2
3
-import { dest } from 'gulp';
+import { dest, watch } from 'gulp';
4
import * as ts from 'gulp-typescript';
5
6
const project = ts.createProject('tsconfig.json');
7
8
export function compile(): NodeJS.ReadWriteStream {
9
return project.src().pipe(project()).pipe(dest('build'));
10
}
11
+
12
+export function monitor(): NodeJS.EventEmitter {
13
+ return watch('src/**/*.ts', compile);
14
+}
0 commit comments