-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Question] Proper way to run Parcel during parcel development? #182
Comments
I'm thinking maybe there should be a way that I can add Parcel to my |
if you |
Also, you can |
@chee How do I get it into my PATH in the first place? Should I symlink it into I tried googling it, but I was pretty confused. |
I use an alias: This allows me to use the local copy of The equivalent for PowerShell users: |
@davidnagli If your globally installed yarn bins are already in your path, then it will work just like that. something like this: echo "PATH=$(yarn global bin):\$PATH" >> .bashrc |
What's the correct way to run the Parcel CLI commands during development for Parcel?
Currently, I'm just calling
node bin/cli.js [args]
, but this causes some issues since it uses/bin
as the "current directory", instead of the place where I actually want to run Parcel.For example, when I run:
I get:
However, I do have a package.json located in
/Parcel/example/package.json
Here's my setup:
![screen shot 2017-12-09 at 8 12 14 pm](https://user-images.githubusercontent.com/6759650/33801095-abed271a-dd1d-11e7-8c3d-627cc964abee.png)
So... what's the best way to run parcel during development?
The text was updated successfully, but these errors were encountered: