You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.
It's really a blocker when you want to integrate it with parallel build systems. You can't process.chdir without messing up other tasks. Depending on cwd certainly makes sense for a CLI but is a really bad idea when you expose an programmatic API (i.e. connect-phonegap).
It totally defeats the purpose of using the API because obviously you want to integrate this with other tools that may need your cwd to stay where it is.
As @mwbrooks mentioned, it should be an easy fix with a maximum gain. Could you prioritize this? That would be awesome! 💖
https://github.com/phonegap/phonegap-cli/blob/master/lib/phonegap/serve.js#L83
From what I understand
cwd()
was done because of https://github.com/phonegap/connect-phonegap/blob/master/lib/middleware/autoreload.js#L21I created an issue on that found here:
phonegap/connect-phonegap#96
Probably a good fix once that issue is resolved would be
I know i should've forked this, but it's like a one liner :(
The text was updated successfully, but these errors were encountered: