Results 1 to 4 of 4

Thread: "sencha app watch" and workspace

  1. #1

    Default "sencha app watch" and workspace

    Hi,

    I have a problem with command "sencha app watch"

    My configuration:
    sencha which
    Sencha Cmd v6.5.0.180
    C:/Users/Artem/bin/Sencha/Cmd/6.5.0.180/
    Windows 7


    If I execute commands:

    sencha generate app --ext MyApp ./MyApp
    cd ./MyApp
    sencha app watch

    and then open in my browser http://localhost:1841 - I see the application.


    But if i usage workspace - i have a problem.

    If I execute commands:

    sencha generate workspace .\SenchaProjects
    cd .\SenchaProjects
    sencha generate app --ext MyApp ./Apps/MyApp
    cd ./Apps/MyApp
    sencha app watch

    and then open in my browser http://localhost:1841 - I see the structure of the workspace folders.


    What am I doing wrong?




    Addition information

    The information in the console confirms that the web server is being launched from the workspace folder, not the applications folder

    e:\java-projects\SenchaProjects\Apps\MyApp>sencha app watch
    Sencha Cmd v6.5.0.180
    [INF] Processing Build Descriptor : classic (development environment)
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\Users\Artem\bin\Sencha\Cmd\6.5.0.180...
    [INF] Mapping http://localhost:1841/ to e:\java-projects\SenchaProjects...
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Appending content to e:\java-projects\SenchaProjects\Apps\MyNewApp\bootstrap.js
    ...
    ....
    ....

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962
    Answers
    55

    Default

    I can't tell what your current working directory is but if you click on your "apps" folder does it launch your app?

    Bryan

  3. #3

    Default

    I accidentally deleted my question
    Therefore, I duplicate it below


    Hi,

    I have a problem with command "sencha app watch"

    My configuration:
    sencha which
    Sencha Cmd v6.5.0.180
    C:/Users/Artem/bin/Sencha/Cmd/6.5.0.180/
    Windows 7


    If I execute commands:

    sencha generate app --ext MyApp ./MyApp
    cd ./MyApp
    sencha app watch

    and then open in my browser http://localhost:1841 - I see the application.


    But if i usage workspace - i have a problem.

    If I execute commands:

    sencha generate workspace .\SenchaProjects
    cd .\SenchaProjects
    sencha generate app --ext MyApp ./Apps/MyApp
    cd ./Apps/MyApp
    sencha app watch

    and then open in my browser http://localhost:1841 - I see the structure of the workspace folders.


    What am I doing wrong?




    Addition information

    The information in the console confirms that the web server is being launched from the workspace folder, not the applications folder

    e:\java-projects\SenchaProjects\Apps\MyApp>sencha app watch
    Sencha Cmd v6.5.0.180
    [INF] Processing Build Descriptor : classic (development environment)
    [INF] Starting server on port : 1841
    [INF] Mapping http://localhost:1841/~cmd to C:\Users\Artem\bin\Sencha\Cmd\6.5.0.180...
    [INF] Mapping http://localhost:1841/ to e:\java-projects\SenchaProjects...
    [INF] Loading compiler context
    [INF] Loading app json manifest...
    [INF] Appending content to e:\java-projects\SenchaProjects\Apps\MyNewApp\bootstrap.js
    ...
    ....
    ....

  4. #4

    Default

    When I click on "apps" - I see a blank page.

    A similar situation on Linux (Ubuntu 14.04)

  5. #5
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962
    Answers
    55

    Default

    Is this on a mapped drive?

    What is the working directory you're starting the "app watch" under (workspace or specific app)?

  6. #6

    Default

    Quote Originally Posted by bjdurham85 View Post
    Is this on a mapped drive?
    No. I have only one drive on my Ubuntu Linux OS

    Quote Originally Posted by bjdurham85 View Post
    What is the working directory you're starting the "app watch" under (workspace or specific app)?
    I execute command from application folder.

    I can't execute command from workspace folder becouse I get a message:


    [email protected]:~/java-projects/SenchaWorkspace$ sencha app watch
    Sencha Cmd v6.5.0.180
    [ERR] Command must be run from an application folder
    [email protected]:~/java-projects/SenchaWorkspace$

Similar Threads

  1. Replies: 3
    Last Post: 1 Dec 2016, 12:13 PM
  2. "sencha generate workspace" wiped out all my projects
    By diego.link.eggy in forum Sencha Cmd
    Replies: 2
    Last Post: 24 Jul 2015, 7:50 PM
  3. Replies: 2
    Last Post: 24 May 2013, 8:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •