func Watch(port int, opts *Options, envs ...string) error {
	srv, err := newServer(port, opts, envs...)
	if err != nil {
		return err
	}

	return srv.run()
}
// Watch start watching for changes of input files/directories and
// call Generate when change happened.
Watch start watching for changes of input files/directories and
call Generate when change happened.
// Watch start watching for changes of input files / directories and // call Generate when change happened .
func Watch(port int, opts *Options, envs ...string) error {
	srv, err := newServer(port, opts, envs...)
	if err != nil {
		return err
	}
	return srv.run()
}
func Watch ( port int , opts * Options , envs ... string ) error { srv , err := newServer ( port , opts , envs ... ) if err != nil { return err } return srv . run ( ) }
Watch start watching for changes of input files/directories and
call Generate when change happened.
Watch start watching for changes of input files / directories and call Generate when change happened .