All Projects → mattdamon108 → gw

mattdamon108 / gw

Licence: other
A Wrapper of a command to watch any changes in filesystem

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to gw

gof
Yet another simple Go filesystem wrapper
Stars: ✭ 13 (-18.75%)
Mutual labels:  wrapper, filesystem
MeowDB.js
Database in JSON (Node.JS Library)
Stars: ✭ 12 (-25%)
Mutual labels:  wrapper, filesystem
TLightFileStream
Implements a lightweight, high-performance, non-allocating advanced-record-based wrapper around the SysUtils file handling routines as an alternative to Classes.TFileStream.
Stars: ✭ 21 (+31.25%)
Mutual labels:  wrapper, filesystem
sandboxed-fs
Sandboxed Wrapper for Node.js File System API
Stars: ✭ 41 (+156.25%)
Mutual labels:  wrapper, filesystem
SharpPhysFS
Managed wrapper for the PhysFS library
Stars: ✭ 14 (-12.5%)
Mutual labels:  wrapper, filesystem
fzf-marker
The terminal command tweak from @pindexis/marker
Stars: ✭ 22 (+37.5%)
Mutual labels:  command
litefilesystem.js
Library with client (js) and serverside (php) to have a filesystem with previews, quotas, metadata, and multiple users with privileges.
Stars: ✭ 131 (+718.75%)
Mutual labels:  filesystem
csv-cruncher
Treats CSV and JSON files as SQL tables, and exports SQL SELECTs back to CSV or JSON.
Stars: ✭ 32 (+100%)
Mutual labels:  command
react-file-manager
A file manager built in ReactJs
Stars: ✭ 40 (+150%)
Mutual labels:  filesystem
ucz-dfs
A distributed file system written in Rust.
Stars: ✭ 25 (+56.25%)
Mutual labels:  filesystem
cargo-limit
Cargo with less noise: warnings are skipped until errors are fixed, Neovim integration, etc.
Stars: ✭ 105 (+556.25%)
Mutual labels:  wrapper
FileSystemTest
FileSystem Api Test For Windows
Stars: ✭ 17 (+6.25%)
Mutual labels:  filesystem
PHP-File-Cache
Light, simple and standalone PHP in-file caching class
Stars: ✭ 34 (+112.5%)
Mutual labels:  filesystem
libpassqlite
libPasSQLite is delphi and object pascal bindings and wrapper around SQLite library. SQLite is library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
Stars: ✭ 18 (+12.5%)
Mutual labels:  wrapper
rust-vfs
A virtual filesystem for Rust
Stars: ✭ 150 (+837.5%)
Mutual labels:  filesystem
vue-cryptojs
A small wrapper for integrating crypto-js into VueJS
Stars: ✭ 17 (+6.25%)
Mutual labels:  wrapper
fswatch
File/Directory Watcher for Modern C++
Stars: ✭ 56 (+250%)
Mutual labels:  filesystem
rxnode
Rxnode - a small and fast wrapper around the nodejs API using RxJS.
Stars: ✭ 24 (+50%)
Mutual labels:  filesystem
node-destiny-2
🌑 A zero dependency Destiny 2 API wrapper written in Node.js
Stars: ✭ 23 (+43.75%)
Mutual labels:  wrapper
ts-koa-starter
typescript+koa起手式(简单的空环境)
Stars: ✭ 92 (+475%)
Mutual labels:  nodemon

GW (Go Watcher)

Stacks

  • Built in Go

Features

A Wrapper of a command to watch any changes in filesystem, then re-run the command again. Especially, when you are developing a backend API, you need to run again your API very often, every time you edit a code. GW will automatically run your API again for you.

Demo

demo

How to use

$ gw [COMMAND arg1, arg2, ...]

e.g.

$ gw go run server.go
** Ctrl-C to exit **
2019/05/12 00:01:00 Listening to the port 8080...

# any changes in filesystem
Tyring to run the command...
2019/05/12 00:01:10 Listening to the port 8080...
  • for Node.js

You can use gw instead of nodemon.

$ gw node server.js
** Ctrl-C to exit **
Listening to port 4000

# any changes in filesystem
Tyring to run the command...
Listening to port 4000

gw excludes to watch the node_modules directory.

How to install

Homebrew

$ brew install mattdamon108/tools/gw

Using go get

$ go get -u github.com/mattdamon108/gw

Build with the source code

  1. Git clone
$ git clone https://github.com/mattdamon108/gw.git
  1. Build & Install
$ go install

Next to do

  • error handling
  • reduce unnecessary re-runs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].