https://github.com/sinclairzx81/fsweb
Static HTTP development server with live reload on save.
https://github.com/sinclairzx81/fsweb
cli http reload static watcher
Last synced: 4 months ago
JSON representation
Static HTTP development server with live reload on save.
- Host: GitHub
- URL: https://github.com/sinclairzx81/fsweb
- Owner: sinclairzx81
- License: other
- Created: 2016-09-22T13:27:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-08T09:57:09.000Z (almost 8 years ago)
- Last Synced: 2025-09-30T16:51:19.567Z (4 months ago)
- Topics: cli, http, reload, static, watcher
- Language: TypeScript
- Homepage:
- Size: 80.1 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# fsweb
static http server with live reload on save.
```
> fsweb ./ 5000
```
## install
```
npm install fsweb -g
```
## overview
fsweb is a simple command line utility to quickly serve static content over http and
provides automatic live reload functionality whenever content in the directory changes.
fsweb has been tested in internet explorer, firefox, chrome, opera and edge browsers.
## starting the server
If not stated otherwise, fsweb will serve content from the current working directory on port 5000
```
> fsweb
```
Users can override the path and the port as follows.
```
> fsweb ./directory_to_watch 8080
```
which will serve/watch this directory and listen on port 8080.
Alternatively
```
> fsweb 8080
```
will watch the current working directory on port 8080.