Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

feat(ignitor): add loadOnlyOnHttp file list #16

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

RomainLanz
Copy link
Member

Hey! 馃憢

This add a way to disable the loading of some files when using Ignitor to fire Ace Command.

In the current implementation, having socket.js to be preloaded when running ace could prevent Node to exit the process if your code start any long-living connection.

On this PR, the test works but it seems that it's testing nothing. After some debugging it seems that some tests are green without really testing something.

Also, the test load ace providers when fireAce command is called seems to not work anymore because the Require Stack is added to the exception's message.

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.9%) to 91.016% when pulling dfaa444 on RomainForks:fix/socket-on-ace into 602ac6f on adonisjs:develop.

@whiteyhat
Copy link

Nice!! Finally 馃馃檶

@whiteyhat
Copy link

Can we get this merged pls? 馃槃

@thetutlage
Copy link
Member

@RomainLanz Can you look at the failing tests please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants