Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

105: Exit instructions instead #107

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ module.exports = (gulp, config) => {
open: config.browserSync.openBrowserAtStart,
proxy: config.browserSync.domain,
startPath: config.browserSync.startPath,
ghostMode: config.browserSync.ghostMode
ghostMode: config.browserSync.ghostMode,
callbacks: {
ready: () => {
console.log('--------------------------------------------');
console.log('Emulsify is Running! (Ctrl-C to Exit Server)');
console.log('--------------------------------------------');
}
}
});
} else {
browserSync.init({
Expand All @@ -117,7 +124,14 @@ module.exports = (gulp, config) => {
open: config.browserSync.openBrowserAtStart,
reloadOnRestart: config.browserSync.reloadOnRestart,
port: openPort,
ghostMode: config.browserSync.ghostMode
ghostMode: config.browserSync.ghostMode,
callbacks: {
ready: () => {
console.log('--------------------------------------------');
console.log('Emulsify is Running! (Ctrl-C to Exit Server)');
console.log('--------------------------------------------');
}
}
});
}
gulp.watch(config.paths.js, ['scripts']);
Expand Down