https://github.com/duzun/watchem-starter-page
A sample project using watchem.js for live-reload dev of a web-page
https://github.com/duzun/watchem-starter-page
Last synced: 7 months ago
JSON representation
A sample project using watchem.js for live-reload dev of a web-page
- Host: GitHub
- URL: https://github.com/duzun/watchem-starter-page
- Owner: duzun
- License: mit
- Created: 2019-11-22T14:05:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T12:46:32.000Z (over 2 years ago)
- Last Synced: 2025-03-30T11:34:32.063Z (7 months ago)
- Language: HTML
- Homepage: https://github.com/duzun/watchem.js
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# watchem-starter-page
A sample project using watchem.js for live-reload dev of a web-page.
## Install
```sh
git clone https://github.com/duzun/watchem-starter-page.git && \
cd watchem-starter-page.git && \
npm install
npm start
```Open in a browser the address you see in the console (eg. [http://localhost:3474](http://localhost:3474))
and start editing files in the `public/` folder to see live-reload in action.## Libs
This project uses [watchem.js](https://github.com/duzun/watchem.js) for live-reload,
which relies on `jQuery.ajax()` or [jAJAX.js](https://github.com/duzun/jajax) to perform its magic.Of Course, there are better ways to do this, but this is a stupid simple method that just works for lazy people like me ;)