Comments (4)
Thanks for the note. It works just fine here so could you please let me know steps to reproduce the issue? Do you use the latest version of files from git?
from frontie.
I cloned the latest from Git. Here's what I get on a fresh version below. Perhaps I should clarify: is it on purpose that only files in template
(but not components
or layouts
) and sass
don't reload? I just edited some files: index.twig
causes Browsersync to reload as does main.js
. default.twig
and _variables.scss
. I tried editing gulpfile.js
but couldn't figure out why they weren't caused Browsersync to say "[Browsersync] Reloading Browsers...". Probably something obvious if it's intentional and I can figure it out.
[Browsersync] Serving files from: ./dist
[Browsersync] Watching files...
[23:03:43] Starting 'twig'...
[23:03:43] Finished 'twig' after 35 ms
[Browsersync] Reloading Browsers...
[23:04:02] Starting 'twig'...
[23:04:02] Finished 'twig' after 31 ms
[23:04:24] Starting 'css'...
[Browsersync] 2 files changed (main.css.map, main.css)
[23:04:25] Finished 'css' after 800 ms
[23:17:00] Starting 'js:main'...
[Browsersync] 2 files changed (main.min.js.map, main.min.js)
[23:17:00] Finished 'js:main' after 195 ms
[Browsersync] Reloading Browsers... (buffered 2 events)
from frontie.
It's because the CSS is injected into the page and there is no message in the terminal so you should not care about these messages. Just to clarify, when you change the CSS e.g. in main.scss, the site doesn't refresh and you don't see new styles, is that correct? Or you see them but it's only about "Reloading Browsers..." message in the terminal that you are concerned?
from frontie.
Closing, please re-open if this is still an issue.
from frontie.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontie.