Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 07 01:11
    dimas-cyriaco commented #259
  • Jul 23 02:20
    wandercn commented #270
  • Jun 26 02:27
    Zioyi commented #245
  • May 14 21:56
    arschles edited #272
  • May 14 21:47
    arschles opened #272
  • May 05 19:19
    PMLMonteiro commented #19
  • Apr 29 17:41
    ajones closed #254
  • Apr 29 17:41
    ajones commented #254
  • Apr 06 16:57
    BentCoder closed #251
  • Apr 04 13:01
    k4wo closed #248
  • Mar 27 06:49
    myhendry commented #229
  • Mar 10 06:14
    micwoj92 commented #207
  • Mar 10 06:13
    grawlinson commented #207
  • Mar 10 06:12
    micwoj92 commented #201
  • Mar 10 06:10
    micwoj92 commented #207
  • Jan 15 09:17
    cloudmer opened #271
  • Nov 11 2020 15:07
    aaad synchronize #268
  • Nov 10 2020 18:42
    leogoesger commented #270
  • Aug 07 2020 15:43
    smithyj opened #270
  • Aug 07 2020 13:52
    smithyj commented #229
AnPiakhota
@AnPiakhota
Hello. I have a small question and maybe you have ready answer. I'm implementing a web application that launches server on some port and is listening for requests. Everything is Ok when I start realize but on the next save I have this error "listen tcp :8085: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted". Is this something to solve easily by configuring?
ninedraft
@ninedraft
Hello there. Is it considered a bug that enabled test task doesn't run on file changes? Build task runs properly. Config:
    schema:
    - name: embark
      commands:
        build:
          status: true
          method: go build -v -o embark ./cmd/embark/
        test:
          status: true
      watcher:
        paths:
        - /
        ignored_paths:
        - vendor
Odell Joseph
@dragonpiper
commands in the the doc doesn't seem to work. commands run based on status , flags change nothing. Adding args like -v -cover to the test command just runs as normal.
Savas Vedova
@svedova
Hey guys, is there any way to pass ldflags to the build command in the realize config file?
I tried this but it fails cuz it can't find the package:
build:
  status: true
  args:
    - -ldflags -X my/path/to/file.version=my-version
David Wieczorek
@david-wieczorek
Hi guys, how could I solve this problem, installation OK but zsh problem, thanks ? zsh: command not found: realize
Jono Hartman
@jhartman86

hi all - anyone running into this error using Go 1.11?

bash-4.4# GO111MODULE=on CGO_ENABLED=0 realize start
[02:55:55][ZEROCARD] : Watching 506 file/s 60 folder/s
[02:55:55][ZEROCARD] : Install started
[02:55:55][ZEROCARD] : Install
 exec: not started

hesitant to file a github issue as this could not be a realize thing, but I had this exact same configuration working with go 1.10.x and the only thing changed was the Golang upgrade and switching over to go modules

Antoine Toussaint
@AntoineToussaint
Quick question: I have a cmd folder and a pkg folder, I want to start cmd/main.go but also watch pkg, from the command line: is there a way?
pedropovw
@pedropovw
Hi guys, one question. I'm new on Go and realize... i was using realize without any issue in my project with standard configuration, but today i've init module into my project and from that moment i can not make realize works..... Anything that i'm mising on the configuration to be able to work with modules?
i'm able to go build && run my project but i can not start realize
ahummel25
@ahummel25
How do I get relize to run my main.go file?
realize*
So I have a project under $GOPATH/src/server/main.go. Do I run realize start main.go?
Edward Cheadle
@echeadle
I don't see a lot of activity on this site. I am having lots of issues with realize. When I run realize init it never breaks out of the loop. ANd I had to read most of the posts in this conversation to find "realize start --run"command would work. This made the example I found in: Setting up your Go Development Docker Environment by liz rice work. Nowhere in the documentation or in the Book did I see that. liz said "realize run", the documentation on the site says "realize start". If you do realize start --help you will see a bunch of commands. go install , go run and go build are disabled by default. A reasonable default, but the documentation does not give much help. realize start --run will run go run and then things work. You need to be in the project folder.I assume it looks for the main.go file so you don't have to add it to the command.
Benjamin Bordel
@BenjaminB64
Hello here, someone tried realize with go 1.12 ? Someone else got these errors ?
image.png
Niels Hofmans
@hazcod
Hi,realize does not build my app on first run. any ideas?
I have run: true and build: status: true, mode: go build in .realize.yaml
Erick Gomez
@rckgomz
Hi, how I can use realize and go mod ?
compact722
@compact722
anybody else have an issue with realize and windows 10? says the files are being watched but it never picks up if there was a modification
works fine on MAC but not windows
compact722
@compact722
@rafal-kowal did you manage to get this to work?
Prathamesh Juvatkar
@prats226
Is there some timeout in run operation?
Somehow sometimes after adding some heavy operation in go before starting api server doesn't start api server ever. The application hangs.
After debugging with print logs, the location till which execution reaches changes after refactor
I am running realize inside docker
Prathamesh Juvatkar
@prats226
Found another bug:
Forrest Ledbetter Jahnel Group
@forrest321
hello all. just submitted a PR for the examples: oxequa/realize-examples#8 just moved the .realize.yaml files out of the folders as the folders were replaced with a single file.
Asaduzzaman Pavel
@k1ng440
how is it going guyss
guys*
i am trying to run go app with dlv but on restart the app staying alive, just the dlv being killed
how do i fix this?
Sebastian Serrano
@sebastianserrano
This might sound stupid but...I am trying to replicate a js development environment where I can simply do nodemon index.js and my server starts. When I do "realize start", the library begins to listen for changes but my main "main.go" script doesnt compile and run like "go run main.go" would. What am I missing?
Sebastian Serrano
@sebastianserrano
for anybody wasting their time with realize, a simple 'nodemon --exec "go run" main.go' will do the job
Andres Ramirez R
@anram88
hi all, i have been using realizd for the last couple months in a docker container. Today i started up the container and im getting this err
go: found github.com/labstack/echo in github.com/labstack/echo v3.3.10+incompatible
go: github.com/oxequa/realize imports
        gopkg.in/urfave/cli.v2: gopkg.in/urfave/cli.v2@v2.1.1: parsing go.mod:
        module declares its path as: github.com/urfave/cli/v2
                but was required as: gopkg.in/urfave/cli.v2
can anyone help ?
mikwys
@mikwys
hello all. @compact722 @rafal-kowal i have same problem; do you have maybe some pointers by now? would really appreciate :) thanks
熊羊羊
@xiongYangy
hello
熊羊羊
@xiongYangy
'realize' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
Lunelun
@Lunelun
hi all , i started realize but it not start and show me like this
noppadon@Noppadons-MacBook-Pro hospital-go % realize start --name='payment'
len [0/0]0x1c01b58
[10:08:13][HOSPITAL-GO] : Watching 70 file/s 58 folder/s
i don't know what make it error
Christian Nieves
@squk

Here's my config:

schema:
- name: service
  path: .
  commands:
    build:
      method: go build -o service.o
      status: true
    run:
      method: "./service.o"
      status: true
  watcher:
    paths:
    - ./
    extensions:
    - go
    ignored_paths:
    - .git
    - .realize
    - vendor

how come realize is re-building the binary before starting it when it already exists?

Glaudiston Gomes da Silva
@glaudiston
Hi guys... First all thank you for this tool ...
There is any documentation on how to use realize and delve to allow hot reload and debug apps at same time ?
Ajay Tripathi
@atb00ker

hi all, i have been using realizd for the last couple months in a docker container. Today i started up the container and im getting this err

go: found github.com/labstack/echo in github.com/labstack/echo v3.3.10+incompatible
go: github.com/oxequa/realize imports
        gopkg.in/urfave/cli.v2: gopkg.in/urfave/cli.v2@v2.1.1: parsing go.mod:
        module declares its path as: github.com/urfave/cli/v2
                but was required as: gopkg.in/urfave/cli.v2

@anram88 Did you find any solution for this? I am new to golang and the setup has be tripped! :smile:

Ajay Tripathi
@atb00ker

For any future finders,

git clone git@github.com:oxequa/realize.git
go get ./...
go install .

worked for me! :smile:

Ajay Tripathi
@atb00ker

There is any documentation on how to use realize and delve to allow hot reload and debug apps at same time ?

Yes, this would be help.
I basically want to attach to vscode to debug! :smile:

Alexey Melezhik
@melezhik
Hi guys! I've added realize to the "my butterflies" rating, you can write your reviews or just upvote - http://161.35.115.119/mbf/ , the service is still in beta, I am going to move it to it's own DSN soon, but I promise to keep all reviews there 😊