Giter Site home page Giter Site logo

gulp-es6's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gulp-es6's Issues

CSS/JS watchers in forked static site version

Hi Alessandro,

I've forked this and refactored things for more of a static site usage (https://github.com/peterankelein/gulp-es6) where I have a src and dist folder. For the most part it all works (task pipes work, files are copied properly to the dist folder, style and js paths are correct when opening the html in the dist folder. However, I'm running into an issue where the CSS and JS aren't loading during the watch....I'm actually getting mime type errors for both in console so they won't load. I'm assuming there is some path issue I'm missing in the gulpfile or some extra step but I haven't been able to suss it out.

Note that I'm putting HTML into src and have changed the browserSync base to /src/ in order to load the page. I could get the CSS and JS to load prior by having the html in the root directory and leaving the base to ./ but it's not very clean. I know you've moved on to webpack but if you have a second, could you load up my repo and see if you can spot anything off the bat that I need to change?

Thx,
Pete

reload occurs before files are done processing.

Hi, I was just using your template on larger libs, and I found even when the watcher is processing in series, the browserSync.reload event is firing before all the resources (js/scss) are done being processed.

Bit questions about making this as livereload system.

Hi Alessandro!

I've watched your videos about gulp and they felt bit overwhelming. As I am trying to get the livereload to work for my own project based on html/css.

I noticed that to make this setup work I needed to create a empty dist/js/main.min.js. I guess its because of this line.
src(jsURL + 'main.min.js')
If I delete that line this whole setup breaks down. Whats the reason of it? Is there any problems If I set html file to src?

How to add JS ?

Hello... Can you please tell me how and where I will be adding my JS code ? I have been trying by doing copy paste in app.js and main.js but it is not working for me... Please help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.