trailsjs / trailpack-hapi

:package: Hapi.js Trailpack
MIT License
19 stars 9 forks source link

restored working assets config #86

Closed weyj4 closed 8 years ago

weyj4 commented 8 years ago

In between these two commits lib/server got reverted to an earlier (dysfunctional) version: https://github.com/trailsjs/trailpack-hapi/blob/3c8322a0ecf6fffcf978687723365add7889ffcd/lib/server.js#L52 https://github.com/trailsjs/trailpack-hapi/tree/517df9a8d3683feb6409b04df42d6d66bfe16331

weyj4 commented 8 years ago

@tjwebb did you mean to revert those changes?

also not sure what's up with travis-ci

tjwebb commented 8 years ago

Weird, what was the issue you ran into? I changed the path resolution because using / won't work on Windows.

tjwebb commented 8 years ago

The deal with travis-ci I think is this:

Now using node v6.0.0 (npm v3.8.6)

wbprice commented 8 years ago

@tjwebb this PR was opened because I ran into trouble grabbing static assets from static/bundle.js with this config in main.js:

  paths: {
    root: path.resolve(__dirname, '..'),
    temp: path.resolve(__dirname, '..', '.tmp'),
    www: path.resolve(__dirname, '..', 'static')
  }

Was there an API change?