expo serve without build (web)

  Expo CLI 3.18.0 environment info:
    System:
      OS: macOS Mojave 10.14.6
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 12.6.0 - ~/.nvm/versions/node/v12.6.0/bin/node
      Yarn: 1.22.4 - ~/.yarn/bin/yarn
      npm: 6.9.0 - ~/.nvm/versions/node/v12.6.0/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    IDEs:
      Android Studio: 3.4 AI-183.6156.11.34.5522156
      Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
    npmGlobalPackages:
      expo-cli: 3.18.0

Is there a way to run the dev server without building with the same command? I’m having issues setting up CI for e2e testing with cypress. The issue seems to be that when I try to put the task (expo start --web) to the background with different methods, it fails to start the server. My guess is that expo starts subsequent shell sessions and that doesn’t work in the background.
My best guess now is to run expo build:web, and then serve it with the dev server, but I did not find an option for the latter.

someone had a very similar issue without a resolution: How to run expo app on travis?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.