cespare / reflex

Run a command when files change
MIT License
3.38k stars 136 forks source link

stdin is ignored #74

Open rafaelcpalmeida opened 4 years ago

rafaelcpalmeida commented 4 years ago

I'm using reflex to compile a Java program that gets input from stdin. I'm running the command using:

# Build and run a server; rebuild and restart when .java files change:
    $ reflex -r '\.java$' -s -- sh -c 'make && java bin/Server'

However, the input from stdin gets ignored.

Is there something I can do? If not, where, in the code, can I try to fix it?

xpufx commented 4 years ago

This is from another similar project's Issues.

https://github.com/cosmtrek/air/issues/102

Maybe it's the same situation.

wandercn commented 3 years ago

hotbuild.ffactory.org you can try it now.