wutility / servino Goto Github PK
View Code? Open in Web Editor NEW๐จโ๐ป ๐ฆ Fast and simple zero-configuration HTTP server with hot reload โก๏ธ
Home Page: https://wutility.github.io/servino
License: MIT License
๐จโ๐ป ๐ฆ Fast and simple zero-configuration HTTP server with hot reload โก๏ธ
Home Page: https://wutility.github.io/servino
License: MIT License
Nice package!
I got an error with servino when I changed a file and it tried to refresh the page:
โฏ npx servino sv .
Need to install the following packages:
[email protected]
Ok to proceed? (y) y
> [START SERVER 10:38:02 PM] http://127.0.0.1:8125
> [ROOT DIR]
> [WATCHING DIR] /Users/trusktr/src/lume+lume+develop
[WAITING FOR CHANGES]
[New File To Watch] /Users/trusktr/src/lume+lume+develop/examples/react-typescript/node_modules/lume/examples/autolayout.html
[New File To Watch] /Users/trusktr/src/lume+lume+develop/examples/react/node_modules/lume/examples/autolayout.html
[New File To Watch] /Users/trusktr/src/lume+lume+develop/apps/website/node_modules/lume/examples/autolayout.html
[New File To Watch] /Users/trusktr/src/lume+lume+develop/apps/docs/node_modules/lume/examples/autolayout.html
/Users/trusktr/.npm/_npx/4ae55a2b94b7f462/node_modules/servino/src/monitor/Monitor.js:46
Log('cyan', `[FILE CHANGE] ${path.relative(process.cwd(), relativeFilePath)} (${Stats.size} Byte)`);
^
TypeError: Cannot read properties of undefined (reading 'size')
at Timeout._onTimeout (/Users/trusktr/.npm/_npx/4ae55a2b94b7f462/node_modules/servino/src/monitor/Monitor.js:46:97)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Node.js v20.6.1
Right when I saved the HTML file I was editing, that's when that FILE CHANGE
happened and then error.
When I start the server from the CLI the localhost address is opened in the browser, but instead of the index.html file being displayed I get shown a list of the files in the root directory. Am I missing something or is this not an option at the moment?
I just installed this package and think it's a nice project, I wouldn't mind having a go at adding this feature if it's not currently available.
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.