nestjs / serve-static

Serve static websites (SPA's) using Nest framework (node.js) šŸ„¦

Home Page:https://nestjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serve static doesn't appear to support webpack hot reloading

robertmain opened this issue Ā· comments

I'm submitting a...

  • Regression
  • Bug report
  • Feature request
  • Documentation issue or request
  • Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

Webpack hot reloading works, serve static works. I can't see any way to have them work together. That is to say - serve static with hot reloading.

Expected behavior

I would like to be able to use serve-static but with webpack hot reloading

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Nest version: X.Y.Z

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.

One could argue that this is a potential documentation issue, since there is no documentation explaining how (or if) these things work together ...