Skip to content

Instantly share code, notes, and snippets.

View WuglyakBolgoink's full-sized avatar
🗣️
We are hiring developers in Germany with fluent german!!! pm me!

Elderov Ali WuglyakBolgoink

🗣️
We are hiring developers in Germany with fluent german!!! pm me!
View GitHub Profile
@kcmr
kcmr / gulpfile.js
Created January 9, 2016 17:48
Pushstate with browserSync (gulp)
var gulp = require('gulp'),
browserSync = require('browser-sync'),
historyApiFallback = require('connect-history-api-fallback');
gulp.task('serve', function() {
browserSync({
files: ['js/**/*.js', '*.html', 'css/**/*.css'],
server: {
baseDir: '.',
middleware: [ historyApiFallback() ]