Comments (3)
Hey @gaetanark,
I think I've seen this issue before, but I'm not currently able to reproduce it. Do you have a link to the source where I can reproduce this? Or could you put you main metalsmith file in the comments?
I did notice an issue where the build was occurring on every refresh (maybe that's the real issue?).
I'm currently working to integrate with a newer version of Browser-Sync (2.6.0), which would prevent builds from occurring on every request.
Thanks,
Mike
from metalsmith-browser-sync.
Hi @mdvorscak
Manual reloads or requests apparently triggers a re-build, but it seems so random that I'm not sure it’s the issue here. And on a simpler build the problem doesn’t occurs.
I created a copy of my project here so you can have a test case. https://github.com/gaetanark/temp.
Edit : The script inserted is browser-sync-client.2.6.4.js (isn't it ever the latest version ?).
from metalsmith-browser-sync.
I got a new message now : FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of memory
and the process dies.
from metalsmith-browser-sync.
Related Issues (11)
- Wrapping plugin causes browserSync issues
- Callback was already called HOT 8
- Doesn't trigger a rebuild/refresh for changes in css HOT 1
- How to inject CSS without reload? What am I doing wrong? HOT 5
- 404 on file change. HOT 2
- collection is appended at each change HOT 1
- Ambiguous files option and watchers
- Consider displaying an error message if the build fails, even without debug set
- Opens browser by default - can that be disabled? HOT 1
- Dangling server process after interrupt
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 metalsmith-browser-sync.