trafilea/nx-shopify

Theme not opening when --open (-o) flag is passed to the serve executor

sebastiandg7 opened this issue ยท 3 comments

Current Behavior

When a theme is served using the --open flag the local server starts but the theme is not automatically opened in the browser.

Expected Behavior

Whenever the --open or -o flags are passed to the serve executor the theme should be opened in the browser with the local server address (BrowserSync).

Steps to Reproduce

$ npx create-nx-workspace myorg --preset=empty --nxCloud=false
$ cd myorg
$ npm i -D @trafilea/nx-shopify@alpha
$ nx g @trafilea/nx-shopify:theme my-shop
$ nx serve my-shop --open

Environment

>  NX  Report complete - copy this into the issue template

  Node : 12.18.4
  OS   : linux x64
  npm  : 7.5.6
  
  nx : Not Found
  @nrwl/angular : Not Found
  @nrwl/cli : 11.3.2
  @nrwl/cypress : Not Found
  @nrwl/devkit : 11.3.2
  @nrwl/eslint-plugin-nx : Not Found
  @nrwl/express : Not Found
  @nrwl/jest : 11.3.2
  @nrwl/linter : 11.3.2
  @nrwl/nest : Not Found
  @nrwl/next : Not Found
  @nrwl/node : Not Found
  @nrwl/react : Not Found
  @nrwl/schematics : Not Found
  @nrwl/tao : 11.3.2
  @nrwl/web : Not Found
  @nrwl/workspace : 11.3.2
  typescript : 4.0.7

๐ŸŽ‰ This issue has been resolved in version 1.0.0-alpha.6 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 1.0.0-beta.1 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

๐ŸŽ‰ This issue has been resolved in version 1.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€