Skip to content

[Configuration] Vite HMR hardcodes host and port — breaks in certain network configurations #140

@anshul23102

Description

@anshul23102

Description

The vite.config.ts file hardcodes HMR host and port values, which breaks hot module reloading in development when the network configuration is different from localhost or when behind a proxy.

Expected Behavior

HMR configuration should be flexible and work with different network setups.

Root Cause

Hardcoded HMR values don't account for all development environments.

Checklist

  • I have searched existing issues and confirmed this is not a duplicate
  • I have read the Contributing.md guidelines
  • I have provided clear steps to reproduce the issue
  • I have described expected vs. actual behavior clearly
  • This issue title is clear and specific
  • This repository has been verified as NSOC on https://www.nsoc.in/projects

@NexGenStudioDev Could you please /assign this issue to me? I would like to make Vite HMR configuration more flexible under NSOC '26.

/assign

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions