Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18945] LiveView broken in 4.0.0

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2015-05-27T23:28:47.000+0000
Affected Version/sRelease 4.0.0
Fix Version/sn/a
ComponentsLiveView
Labelsn/a
ReporterAlan Leard
AssigneeIngo Muschenetz
Created2015-05-24T23:34:45.000+0000
Updated2017-03-22T20:47:23.000+0000

Description

When building an app with LiveView turned on, after a successful build, if I save a file in the project, the app does not rebuild to reflect those changes. This is with an app that was originally built with the 3.5.1 SDK.

Comments

  1. Ingo Muschenetz 2015-05-26

    I believe this is a duplicate. [~pinnamuri]
  2. Praveen Innamuri 2015-05-27

    As Ingo suggested, this could be a duplicate of TISTUD-4390. [~aleard] Can you verify whether paths.hooks contains liveview executable (using the command appc ti config) You can alternatively force to set the liveview path on terminal using:
       appc ti config paths.hooks /Application/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.<qualifier>/node_modules/liveview
       
  3. Alan Leard 2015-05-27

    Here is my original ti config:
       ALMacbookPro:quotepad2.0 aleard$ appc ti config
       Appcelerator Command-Line Interface, version 4.0.0
       Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
       android.ndkPath            = ""
       android.sdkPath            = "/Users/aleard/Library/android-sdk-macosx"
       app.workspace              = ""
       cli.colors                 = true
       cli.completion             = false
       cli.failOnWrongSDK         = false
       cli.httpProxyServer        = ""
       cli.ignoreDirs             = "^(\\.svn|_svn|\\.git|\\.hg|\\.?[Cc][Vv][Ss]|\\.bzr|\\$RECYCLE\\.BIN)$"
       cli.ignoreFiles            = "^(\\.gitignore|\\.npmignore|\\.cvsignore|\\.DS_Store|\\._.*|[Tt]humbs.db|\\.vspscc|\\.vssscc|\\.sublime-project|\\.sublime-workspace|\\.project|\\.tmproj)$"
       cli.logLevel               = "trace"
       cli.progressBars           = true
       cli.prompt                 = true
       cli.rejectUnauthorized     = true
       cli.width                  = 100
       paths.commands             = []
       paths.hooks                = []
       paths.modules              = []
       paths.plugins              = []
       paths.sdks                 = ["/Users/aleard/Library/Application Support/Titanium"]
       paths.templates            = []
       sdk.defaultInstallLocation = "/Users/aleard/Library/Application Support/Titanium"
       sdk.selected               = "4.0.0.RC2"
       user.locale                = "en_US"
       
    I then ran the following:
       ALMacbookPro:Applications aleard$ appc ti config paths.hooks /Applications/Appcelerator\ Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1429660722/node_modules/liveview 
       Appcelerator Command-Line Interface, version 4.0.0
       Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
       paths.hooks saved
       ALMacbookPro:Applications aleard$ appc ti config
       Appcelerator Command-Line Interface, version 4.0.0
       Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
       android.ndkPath            = ""
       android.sdkPath            = "/Users/aleard/Library/android-sdk-macosx"
       app.workspace              = ""
       cli.colors                 = true
       cli.completion             = false
       cli.failOnWrongSDK         = false
       cli.httpProxyServer        = ""
       cli.ignoreDirs             = "^(\\.svn|_svn|\\.git|\\.hg|\\.?[Cc][Vv][Ss]|\\.bzr|\\$RECYCLE\\.BIN)$"
       cli.ignoreFiles            = "^(\\.gitignore|\\.npmignore|\\.cvsignore|\\.DS_Store|\\._.*|[Tt]humbs.db|\\.vspscc|\\.vssscc|\\.sublime-project|\\.sublime-workspace|\\.project|\\.tmproj)$"
       cli.logLevel               = "trace"
       cli.progressBars           = true
       cli.prompt                 = true
       cli.rejectUnauthorized     = true
       cli.width                  = 100
       paths.commands             = []
       paths.hooks                = ["/Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1429660722/node_modules/liveview"]
       paths.modules              = []
       paths.plugins              = []
       paths.sdks                 = ["/Users/aleard/Library/Application Support/Titanium"]
       paths.templates            = []
       sdk.defaultInstallLocation = "/Users/aleard/Library/Application Support/Titanium"
       sdk.selected               = "4.0.0.RC2"
       user.locale                = "en_US"
       
    Then I reopened Appcelerator Studio, build: 4.0.0.201505202026, built an application with 4.0.0.GA with LiveView on, made a change to the code and saved the change and the application DID NOT reload as expected. I then checked the ti config again:
       ALMacbookPro:Applications aleard$ appc ti config
       Appcelerator Command-Line Interface, version 4.0.0
       Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
       android.ndkPath            = ""
       android.sdkPath            = "/Users/aleard/Library/android-sdk-macosx"
       app.workspace              = ""
       cli.colors                 = true
       cli.completion             = false
       cli.failOnWrongSDK         = false
       cli.httpProxyServer        = ""
       cli.ignoreDirs             = "^(\\.svn|_svn|\\.git|\\.hg|\\.?[Cc][Vv][Ss]|\\.bzr|\\$RECYCLE\\.BIN)$"
       cli.ignoreFiles            = "^(\\.gitignore|\\.npmignore|\\.cvsignore|\\.DS_Store|\\._.*|[Tt]humbs.db|\\.vspscc|\\.vssscc|\\.sublime-project|\\.sublime-workspace|\\.project|\\.tmproj)$"
       cli.logLevel               = "trace"
       cli.progressBars           = true
       cli.prompt                 = true
       cli.rejectUnauthorized     = true
       cli.width                  = 100
       paths.commands             = []
       paths.hooks                = []
       paths.modules              = []
       paths.plugins              = []
       paths.sdks                 = ["/Users/aleard/Library/Application Support/Titanium"]
       paths.templates            = []
       sdk.defaultInstallLocation = "/Users/aleard/Library/Application Support/Titanium"
       sdk.selected               = "4.0.0.RC2"
       user.locale                = "en_US"
       
    ....paths.hooks has been cleared after opening Appcelerator Studio. I repeated and duplicated these steps twice.
  4. Praveen Innamuri 2015-05-27

    Duplicate of TISTUD-4390
  5. Praveen Innamuri 2015-06-02

    This is fixed in CLI 4.0.1 release.
  6. Alan Leard 2015-06-03

    The 4.0.1 release fixed it for me. [~sliang]
  7. Shuo Liang 2015-06-03

    [~aleard], Cool thanks. Will try that
  8. Praveen Innamuri 2015-06-03

    For the fix on Windows https://github.com/appcelerator/appc-cli/pull/174
  9. Lee Morris 2017-03-22

    Closing ticket as duplicate of the ticket that is mentioned above and has since been closed.

JSON Source