Skip to content

Commit c978e9b

Browse files
Fixed tslint restarting on changes
1 parent 8108c56 commit c978e9b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

gulpfile.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ gulp.task('build:client', function () {
5151
*/
5252
gulp.task('tslint', () => {
5353
return gulp.src("client/app/**/*.ts")
54-
.pipe(tslint())
55-
.pipe(tslint.report('prose'));
54+
.pipe(tslint({
55+
formatter: "prose"
56+
}))
57+
.pipe(tslint.report());
5658
});
5759

5860

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"clean": "gulp clean",
77
"compile": "gulp compile",
88
"build": "gulp build",
9-
"deploy": "concurrent --kill-others \"gulp watch\" \"gulp start\"",
9+
"deploy": "concurrent --kill-others \"gulp watch\" \"node ./dist/server/bin/www",
1010
"postinstall": "gulp installTypings"
1111
},
1212
"repository": {

0 commit comments

Comments
 (0)