nativew / esbuild-serve Goto Github PK
View Code? Open in Web Editor NEWServe with live reload for esbuild.
License: ISC License
Serve with live reload for esbuild.
License: ISC License
I don't know if this is a goal or not, but i tried to use your plugin + the babel plugin in order to serve ie11 script (i know i know) but the live reload is using array notation
do you think you could replace it?
this works (provided that an eventsource polyfill is loaded beforehand, but that is easy with polyfill.io)
(function() { new EventSource('${eventSource}').onmessage = function() {location.reload();}})();
Hi, I want to add a live reload to my koajs + graphql server. Im using esbuild-serve and I want to know if I cant ignore ts errors.
servedir option also uses watch flag so you get the same experience probably.
When I run esbuild serve with the -w
parameter, it dies with this error:
11:55 $ node esbuild.config.mjs -w
[watch] build finished, watching for changes...
Serving ๐
Local โ http://localhost:3000
file:///home/mike/workspace/teamway-test/node_modules/create-serve/src/utils/getIp.js:6
.find(ip => ip.family == 'IPv4' && !ip.internal).address;
^
It seems that there is some assumption in getIp
that doesn't hold (ip.family
is numeric on my machine).
Node vesion: 18.
Ubuntu version: 22.
add @types/esbuild-serve so we can use this in .ts files
and add fallback for single page applications
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.