Consider moving jspm packages folder
Currently being kept in src/lib, perhaps it's better off outside the src dir.
@alexweber: I like the idea of keeping installed jspm packages outside the src folder – at the same level as node_modules. But it seems it wouldn't be possible, then, to serve the application from the src folder while developing – am I wrong?
@alexweber @dalgard How about reroute jspm_package directory? I've added a middleware like below and reroute jspm_packages as static directory and it seems to work fine.
gulp.task('connect', function() {
connect.server({
root: global.paths.src,
livereload: true,
middleware: function(connect, opt) {
return [
connect().use('/jspm_packages', connect.static('./jspm_packages'))
]
}
});
});
@ohsiwon I'm open to it :+1:
@ohsiwon: Brilliant – thanks for that idea :+1: