Skip to content

project.config overrides don't always work #979

Closed

Description

@vip32

when using the following project.config.ts the PORT override is not used. after using npm start the site is still being served on port 5555. however the overridden APP_TITLE works fine.
Other override like PROD_DEST also are ignored. Changing the values directly in seed.config.ts is gives the desired result and the changes are applied (start or build.prod tasks).

is this a bug or am i overlooking something?

export class ProjectConfig extends SeedConfig {

  PROJECT_TASKS_DIR = join(process.cwd(), this.TOOLS_DIR, 'tasks', 'project');

  constructor() {
    super();
    this.APP_TITLE = 'Event|Feedback2';
    this.PORT = 1133;

Activity

  1. mgechev commented on Jun 9, 2016

    @mgechev
    Owner

    Seems like duplicate of #823 which is solved by #968.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions