$(document).on('scroll', function () {
console.log( 'current scroll: ' + $(window).scrollTop() );
});
D:/php
var gulp = require('gulp'),
connect = require('gulp-connect-php'),
browserSync = require('browser-sync');
gulp.task('php', function () {
//bla bla bla
});
gulp.task('watch', ['php'], function () {
connect.server({
base: 'build/',
port: 8001,
bin: 'D:/php/php.exe',
ini: 'D:/php/php.ini'
}, function () {
browserSync({
proxy: 'localhost:8001',
port: 8000,
notify: false
});
});
gulp.watch(['build/**/*.php']).on('change', browserSync.reload);
});
gulp.task('default', ['watch']);
ini
Type: string
Default: Built-in php.ini
'hierarchical' => false