Comments (9)
@mcollina ok. I just created the PR33.
Due to lack of time now it's without tests but I'll add them in a few days.
As always comments and suggestions are welcome :-) ... thanks for now. Bye
from point-of-view.
@smartiniOnGitHub Thank you very much.
from point-of-view.
I think fastify is doing the correct thing. If your application throw it is better to crash, otherwise you are going to leak memory.
What we can do is to catch and send that to the error handler... the user will see a 500. Would this be bettere?
from point-of-view.
So how do I catch this exception, it seems to be in the form of Plug-ins, in the plug-in callback? or where?
from point-of-view.
very likely we would have to add it in this library.
Would you mind sending a PR?
from point-of-view.
Hi all, I just started an implementation for this (I have the same problem even when an EJS include file is missing and I need to have it fixed), I hope to push something for a PR soon ...
from point-of-view.
To speedup development cycles in some projects I use nodemon ... if I'd add it in dev dependencies here and add a custom npm command to have an hot-reloadable dev server ?
@mcollina What do you think ?
from point-of-view.
The best way to develop this is via unit tests, not with a “hot-reloadable dev server”, I’m kind of -1. There is no need to add this to package.json either as you can use it from a global installation.
from point-of-view.
@mcollina This could be closed now (just merged) ... thanks a lot.
from point-of-view.
Related Issues (20)
- Type of templates property in PointOfViewOptions show allow arrays HOT 1
- Allow custom `Content-Type` header for Nunjucks HOT 1
- How to render view dynamically by http status on ExceptionFilter HOT 1
- Nunjucks templates do not dynamically reload in development HOT 4
- could you add support of svelte? HOT 1
- support for async minify methods HOT 3
- eta v3 integration doesn't work HOT 1
- nunjucks custom filter is not working HOT 1
- I am getting the following error after installing and configuring the lib: reply.view is not a function HOT 2
- Latest version of Eta no longer works HOT 6
- Support for view raw text
- `fastify.view` is rendered without `reply.locals` HOT 18
- Swig support HOT 3
- Like operator not works on return reply.view HOT 7
- Postgresql's like operator not works on return reply.view HOT 1
- Fastify app not updating pages unless another route is added HOT 1
- When `onError` hook is defined, failure to compile template crashes server (ejs) HOT 4
- Proposal: Remove `send` calls HOT 4
- Support absolute paths for `layout` and `partials` properties for Handlebars HOT 2
- edge.js templates HOT 7
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 point-of-view.