cespare / reflex

Run a command when files change

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-bash: reflex: command not found

cbrwizard opened this issue · comments

Hey, I am new to Go so don't blame me for asking a silly question [:
This is probably even not entirely related to reflex, but to any Go package.
I have installed reflex using go get github.com/cespare/reflex and it worked. But when I reopened terminal it stopped working and it returns -bash: reflex: command not found when I enter reflex in a terminal. Writing go get github.com/cespare/reflex once again does nothing. Should I set a path correctly or something?

Found it, I should have added
export PATH=$PATH:$HOME/bin/
to my .bash_profile

Glad you figured it out :)

you can try install reflex
sudo apt install reflex
with ubuntu