#36719·nx

angular-rspack: Dev server rebuild doesn't reflect code changes on server part

Author: vz-tlCreated Aug 20, 2026Updated Sep 17, 2026
Labelstype: bugblocked: repro neededscope: bundlerspriority: low

Current Behavior

I was trying angular-rspack v23 after a while since a lot of optimizations were merged, especially for improving dev-server cold-start and rebuild times a lot (shout out to @leosvelperez! Amazing work!) and noticed one big blocker when using the dev-server:

Once applying code changes to the SSR app (e.g. server.ts) the rebuild takes place and it looks like as the server gets restarted but the applied changes won't be reflected, not even after manually reloading the browser multiple times.

I tested with adding a simple console.log() in server.ts, but the log never appeared in the terminal. Also real functionality changes altering the server behavior, like for modifying express route handler, weren't reflected.

This is in contrast to the Angular part, where HMR and full page reloads always are reflecting the applied modifications.

Not sure what could have caused the issue, but maybe it's because of updating @rspack/dev-server to v2, which came along with a lot of breaking changes, however seemingly unrelated to this very problem.

Due to time constraints I won't be able to provide a repro, so leaving this for the records in case anyone else also encountering this bug.

Expected Behavior

Applying code modification to the server part of the SSR app should be properly reflected after a rebuild / app reload.

GitHub Repo

No response

Steps to Reproduce

Nx Report

bash
Node           : 24.15.0
OS             : linux-x64
Native Target  : x86_64-linux
npm            : 11.12.1
daemon         : Available

nx                           : 23.1.1
@nx/js                       : 23.1.1
@nx/eslint                   : 23.1.1
@nx/workspace                : 23.1.1
@nx/angular                  : 23.1.1
@nx/angular-rspack           : 23.1.1
@nx/angular-rspack-compiler  : 23.1.1
@nx/jest                     : 23.1.1
@nx/cypress                  : 23.1.1
@nx/devkit                   : 23.1.1
@nx/esbuild                  : 23.1.1
@nx/eslint-plugin            : 23.1.1
@nx/module-federation        : 23.1.1
@nx/node                     : 23.1.1
@nx/plugin                   : 23.1.1
@nx/rspack                   : 23.1.1
@nx/storybook                : 23.1.1
@nx/web                      : 23.1.1
@nx/webpack                  : 23.1.1
@nx/docker                   : 23.1.1
typescript                   : 6.0.3
---------------------------------------
Registered Plugins:
@nx/rspack/plugin
@nx/eslint/plugin
@nx/jest/plugin

Failure Logs

bash

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response