Re: [go-nuts] New development tool: missing watch mode for "go"

2018-10-23 Thread Nelo Mitranim
@Henrik

Comparing with general purpose watchers, being Go-specific makes it easier to 
remember and lets it work well for Go projects with no configuration. 
Mnemonically, it's invoked exactly like "go". It ignores non-Go files by 
default. I can imagine the "go" tool eventually getting a "-w" flag that 
replaces "gow" as-is.

In addition, every other tool I've tried had AT LEAST one of these problems:

  * noisy output

  * delays in the file watcher, usually not configurable; this drives me crazy

  * creates garbage files

  * eventually needs configuration files

  * unreliable

  * can't stop and restart the subprocess

  * can't clear the terminal on restart

  * complex codebase, unreasonably difficult to hack on

That's just my experience.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] New development tool: missing watch mode for "go"

2018-10-23 Thread Henrik Johansson
I have always used https://github.com/cespare/reflex what is the main
benefit vs this and the other quite numerous options?

tis 23 okt. 2018 kl 11:28 skrev Nelo Mitranim :

> Good day gophers!
>
> I want to highlight a certain Go development tool. My golleagues (sic) and
> I have found it quite enjoyable to use: https://github.com/Mitranim/gow
>
> "gow" is the missing watch mode for the "go" command. It's invoked exactly
> like "go", but watches files and reruns the subcommand on changes.
>
> Common use cases:
>
>   gow run .
>
>   gow test
>
>   gow vet
>
> Clear terminal on restart with "-c":
>
>   gow -c run .
>
> Another fancy feature: hit "^R" to restart the subprocess. See "-h" for
> more options.
>
> I hope others will find this equally enjoyable. Feedback and requests for
> improvement are welcome.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] New development tool: missing watch mode for "go"

2018-10-23 Thread Nelo Mitranim
Good day gophers!

I want to highlight a certain Go development tool. My golleagues (sic) and 
I have found it quite enjoyable to use: https://github.com/Mitranim/gow

"gow" is the missing watch mode for the "go" command. It's invoked exactly 
like "go", but watches files and reruns the subcommand on changes.

Common use cases:

  gow run .

  gow test

  gow vet

Clear terminal on restart with "-c":

  gow -c run .

Another fancy feature: hit "^R" to restart the subprocess. See "-h" for 
more options.

I hope others will find this equally enjoyable. Feedback and requests for 
improvement are welcome.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.