[Adonis 4.1] App console.log still printing after break app execution #1410
-
Hello, After break an How can i check if the app still running after break the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Where are log entries coming from? Or if you killed it (CTRL + C), which released terminal, but serveri is still running you need to use some kind of task manager depending on your OS to find running NodeJS instance and kill that one If CTRL + C has no effect at all, then most likely there is something eating off kill signal (bash wrapper or something?) and kill signal never reaches NodeJS process Perhaps you just moved |
Beta Was this translation helpful? Give feedback.
-
Make new tests here, and every adonis cli command i run, even if i run only Well, i need to add these providers to app.. this is a fact. But only when the app is running, not when i just run a cli command. So, there is a way to check check for specific CLI commands i want to accept servicce providers Example: If i run a new migration, service providers ran the For now, there is no problem with this behavior because my project is not production ready yet. But, when its goes to production, i don't want to deal with these issues every new deploy cycle, Imagine if i have 100... 200 container instances of this project! Pure headache! |
Beta Was this translation helpful? Give feedback.
Make new tests here, and every adonis cli command i run, even if i run only
adonis
to show all cli options, it calls theregister
andboot
from all servide providers...Well, i need to add these providers to app.. this is a fact. But only when the app is running, not when i just run a cli command.
So, there is a way to check check for specific CLI commands i want to accept servicce providers
register
andboot
executions and others no?Example: If i run a new migration, service providers ran the
boot
method and i don't want that. But, if i ran a custom command i created to make some admin scheduled tasks in background, i need the services registered (and their singleton instances created a…