403Webshell
Server IP : 82.180.147.116  /  Your IP : 216.73.216.4
Web Server : Apache
System : Linux server.vsyshosting.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User : demoplace ( 1009)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/demoplace/www/krishnaagrosolutions.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/demoplace/www/krishnaagrosolutions.com/gulpfile.js
const gulp = require('gulp');
const sass = require('gulp-sass');
const browserSync = require('browser-sync');


// compiling SASS into CSS

function style() {
	// 1. Load the source sass file
	return gulp.src('./sass/**/*.scss', { sourcemaps: true })
	// 2. Pass the sass into gulp sass compiler
		.pipe(sass()).on('error', sass.logError)
		//.pipe(rename("mainstyle.css")) // optionally you can rename your compiled css file
	// 3. set the destination folder (use rename() to rename file if necessary)
		.pipe(gulp.dest('./css/', { sourcemaps: true }))
	// 4. use browser sync for page refreshment and reload etc
		.pipe(browserSync.stream());
}


function watch() {

	// setup browser sync server for auto refresh
	// browserSync.init({
	// 	server:{
	// 		baseDir: './'
	// 	}
	// });

	// watching for changes in sass file to auto compile
	gulp.watch('./sass/**/*.scss', style);
	// watch for changes in any html/js file then reload the browser
	// gulp.watch(['./*.html', './*.js']).on('change', browserSync.reload);

}


exports.style = style;
exports.watch = watch;
exports.default = watch;

Youez - 2016 - github.com/yon3zu
LinuXploit