message: [now-cli] Proxy everything except Lambdas to the dev server
diff: @@ -1456,9 +1456,13 @@ export default class DevServer {
  foundAsset = findAsset(match, requestPath, nowConfig);
  }
  - if (!foundAsset) {
  - // if the dev command is started, proxy to it
  - if (this.devProcessPort) {
  + // Proxy to the dev server:
  + // - when there is no asset
  + // - when the asset is not a Lambda (the dev server must take care of all static files)
  + if (
  + this.devProcessPort &&
  + (!foundAsset || (foundAsset && foundAsset.asset.type !== 'Lambda'))
  + ) {
  this.output.debug('Proxy to dev command server');
  return proxyPass(
  req,
  @@ -1469,6 +1473,7 @@ export default class DevServer {
  );
  }
  + if (!foundAsset) {
  await this.send404(req, res, nowRequestId);
  return;
  }
  