alaybey

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2020 License: MIT Imports: 12 Imported by: 0

README

alaybey

It's a simple stupid live-reloading tool for web development.

Install for non-Go users

curl -sf https://gobinaries.com/canerbasaran/alaybey | sh

Install

go get github.com/canerbasaran/alaybey

Usage

Basic usage

You can just run alaybey in a directory:

$ alaybey

And then load your browser to localhost:8003 which will render index.html. Any other URL will load the respective file on the computer.

Usage of alaybey:
  -f string
        folder to watch (default: current) (default ".")
  -i string
        index page to render on / (default "index.html")
  -p int
        port to serve (default 8003)

Credits

https://github.com/schollz/browsersync

https://github.com/fsnotify/fsnotify

https://gist.github.com/fdrechsler/a20e8d2b8ff656db3bff9533e957be0c

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL