I tried passing --open to the parcel src/index.html command, but nothing happened. This feature works perfectly in the latest stable parcel-bundler package.
{
"scripts": {
"start": "parcel src/index.html --open"
}
}
Parcel should open http://localhost:1234 in my default web browser.
Nothing happens.
I tried to use the --open flag as I'm used to do in parcel-bundler.
src/index.html:
hello world
package.json:
{
"scripts": {
"start": "parcel src/index.html --open"
}
}
$ yarn start
| Software | Version(s) |
| ---------------- | ---------- |
| Parcel | 2.0.0-alpha.2.1
| Node | v13.0.1
| Yarn | 1.19.1
| Operating System | Windows 10 v1809 (x64)
I will take this issue!
Seem to work with [email protected]
Yes, this issue is specific to Parcel 2 @mackness.
I think this one can be closed! #4596
Ow yes it can, thanks for the heads up. For any future reference install parcel@nightly to have this fixed
Most helpful comment
Ow yes it can, thanks for the heads up. For any future reference install
parcel@nightlyto have this fixed