Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1620

Fix hotreload with mono module project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CODEGEN-1.5
    • Component/s: Nuxeo CLI

      Description

      When trying to hotreload mono module project:

           info Looking for Nuxeo bundles in /Users/fvadon/Dev/labswebui/pom.xml file.
      events.js:161
            throw er; // Unhandled 'error' event
            ^
      
      TypeError: Path must be a string. Received true
          at assertPath (path.js:7:11)
          at Object.join (path.js:1211:7)
          at constructor._computeClassesFolder (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/generators/hotreload/hotreload.js:18:17)
          at constructor._isModuleBuilt (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/generators/hotreload/hotreload.js:49:29)
          at _.each (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/generators/hotreload/hotreload-delegate.js:44:17)
          at arrayEach (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/lodash/lodash.js:537:11)
          at Function.forEach (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/lodash/lodash.js:9359:14)
          at LodashWrapper.object.(anonymous function) [as each] (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/lodash/lodash.js:15693:25)
          at constructor.writing (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/generators/hotreload/hotreload-delegate.js:38:16)
          at delegate (/Users/fvadon/.nvm/versions/node/v7.5.0/lib/node_modules/nuxeo-cli/node_modules/generator-nuxeo/generators/hotreload/index.js:67:31)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: