You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a fullstack project with a NodeJs express backend.
In development mode, I would like the WebpackDevServer perform a simple refresh when I save a "pug/jade" template (these templates are not compiled by webpack, it's just served and rendered by express).
To summarize, I need this:
constcompiler=webpack(config)constserver=newWebpackDevServer(compiler,{...})// Here I watch changes in my backend templates folder and want to // perform something like this when a template changes:server.refresh()// Perform a simple page reload without run the webpack compilation
Is there a way to do this in the current version ?
Thanks
The text was updated successfully, but these errors were encountered:
MarlBurroW
changed the title
Trigger a manual page refresh on a WebpackDevServer instance.
Trigger a manual page refresh on a WebpackDevServer instance
Sep 10, 2017
@MarlBurroW please note that when you see an issue template, it's typically required. be cool and fill it out in the future please. our template states:
Hello,
I'm working on a fullstack project with a NodeJs express backend.
In development mode, I would like the WebpackDevServer perform a simple refresh when I save a "pug/jade" template (these templates are not compiled by webpack, it's just served and rendered by express).
To summarize, I need this:
Is there a way to do this in the current version ?
Thanks
The text was updated successfully, but these errors were encountered: