Skip to content

Commit 42b3c8a

Browse files
committed
fix(build): update livereload regex to fit with indentation variations
1 parent 8606ab6 commit 42b3c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ gulp.task('scripts', function () {
290290

291291
gulp.task('replace', function () {
292292
return gulp.src('dist/client/index.html')
293-
.pipe($.replace(/ <script.*livereload.*><\/script>\n*/, ''))
293+
.pipe($.replace(/\s*<script.*livereload.*><\/script>\n*/, ''))
294294
.pipe(gulp.dest('dist/client'));
295295
});
296296

0 commit comments

Comments
 (0)