import {buildHelper as helper, taskRunner} from "../Container";
const gulp = require("gulp");
const embedlr = require("gulp-embedlr");

export default function CopyIndex() {
    let stream = gulp.src('index.html');
    if (helper.isWatching())
        stream = stream.pipe(embedlr());
    return stream.pipe(gulp.dest(helper.getTempFolder()));
}
import {buildHelper as helper, taskRunner} from "../Container";
const gulp = require("gulp");
const embedlr = require("gulp-embedlr");

export default function CopyIndex() {
    let stream = gulp.src('index.html');
    if (helper.isWatching())
        stream = stream.pipe(embedlr({ port: helper.getSettings().liveReloadPort}));
    return stream.pipe(gulp.dest(helper.getTempFolder()));
}
Add live reload port to embedlr
Add live reload port to embedlr

