Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19080] CLI builds for MobileWeb should start local server to serve the build

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T23:05:36.000+0000
Affected Version/sRelease 4.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsn/a
ReporterFokke Zandbergen
AssigneePraveen Innamuri
Created2015-06-26T11:26:33.000+0000
Updated2017-08-16T01:09:03.000+0000

Description

When you build for MobileWeb in Studio, it automatically starts a local server.

Current

When you build for MobileWeb via the CLI, it does not, nor does it tell you where (/build/mobileweb) to find the build. But even if you open it from there, not all features work if it's not served from a (local) server.

Expected

The CLI could use an NPM package like [http-server](http://npmjs.com/http-server) to serve /build/mobileweb via a local server and print the server URL for the user to open. Studio could possibly even rely on the CLI for this as well instead of starting it's own server.

Comments

  1. Lee Morris 2017-06-26

    Marking ticket as "Won't Fix" as MobileWeb has been deprecated.

JSON Source