Matija Marohnić

Results 237 comments of Matija Marohnić

Depends on your templating configuration, I'm not sure what you're using. You could try changing this in `html` task: ``` js return gulp.src('app/*.html') ``` to this: ``` js return gulp.src(['app/*.html',...

@CesarDenis could you share the whole `gulpfile.babel.js`? It will be much easier to help once I see what templating solution is used. @artoric ``` diff gulp.watch([ - 'app/*.html', + 'app/**/*.html',...

@CesarDenis only watch `.tmp/**/*.html` for reloading in the `serve` task, not `app/**/*.html` as well. You want the browser to refresh once the Nunjucks templates have already been compiled. Also, you...

``` js gulp.watch([ '.tmp/**/*.html', '.tmp/scripts/**/*.js', 'app/images/**/*', '.tmp/fonts/**/*' ]).on('change', reload); ```

@rizqinizamil what is the difference between those two code blocks?

Ok, this seems to be a tricky problem. Correct me if I'm wrong, but the way I understand it is that if you have files at different directory levels extending...

This generator is meant more for single page apps, that's why it doesn't support nesting like this. I'll see what I can do, but it will take me some time....

This is a good idea, I'd like the generator to have a flag like this.

That would be very much appreciated! Let me know if you need any help 😉 The configs have most likely diverged significantly, so when in doubt, prefer the rules that...

That's true, it's kinda standalone currently, but try applying to it everything that isn't specifically Flow-related so we see what happens. When we start adding TypeScript files at some point...