ender-js/Ender — Issue #106: Ender silently fails when modules are not in current directory
Author: icoloma
Created: 2011-12-10 06:09:24+00:00
State: open

When working inside nested folders, ender will silently fail to include the module contents.

Create this at src/main/js/hoverIntent/package.json (the folder tree structure is typical of Java projects):

```javascript
{
"name": "hoverIntent",
"description": "jQuery hover intent plugin",
"version": "2011.02.26",
"author": "Brian Cherne brian(at)cherne(dot)net",
"main": "./hoverIntent.js"
}
```

Inside src/main/js it works fine and I can see the javascript file contents inside ender.js:

```javascript
cd src/main/js
ender build hoverIntent
```

Instead, when ejecuting at the project root it fails to include the hoverIntent.js contents:

```javascript
cd ../../..
ender build ./src/main/js/hoverIntent
```

Failing is an issue, but it gets harder to debug if ender is not complaining about anything.