-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advice, not a bug. #2214
Comments
Is it really nodemon that receives the "rs" input, or is it node? Hmmm! |
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. |
@Digital-Pig-LLC just do something like |
Thanks @ankhzet I'll give that a try. |
This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. |
Let me preface this with, logically this should work, and if I need to really dig into it I will, I'm just looking for some advice on where to start.
I have a node app running in a Debian 12 container, on Windows (should make no odds).
My app dev env is IntelliJIDEA.
When I save new code, nodemon is not restarting, and I understand why. So, what I came up with is this:
On save, execute a "docker exec" command, which send a shell command to call a shell script.
The shell script is as follows:
The idea is simply...get the PID of nodemon, send input to it
Given this nodemon output:
...after running the script, I simply see a new line, like so:
`rs
`
So, the rs + newline is being sent to the process, but is not seen by nodemon.
I know, I'm probably cray-cray, I just love following thoughts like this even if I don't end up using it. I guess I need to know how is the input received when I simply use the keyboard as opposed to using the script.
Thanks! Sorry for the lengthy explanation.
nodemon -v
: 3.1.4node -v
: 22.5.1Expected behaviour
nodemon restarts
Actual behaviour
no change
Steps to reproduce
The above contains everything.
If applicable, please append the
--dump
flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.The text was updated successfully, but these errors were encountered: