-
-
Notifications
You must be signed in to change notification settings - Fork 380
devMiddleware.fileSystem.readFileSync not work with gulp #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You should not access |
hi, so just to be clear, is it still okay to manually serve a file from |
@sokra , I have a similar requirement for this. I want to process some file in a custom webpack plugin using external library like node-sass. One reason is the webpack need a JS entry for stylesheet processing, it demands a extraction plugin thereafter. Kinda a little bit overhead to me. Exposing the filesystem of the compiler will have a few benefit to server the output file directly just like it is emitted by webpack compile. It sounds make sense to me. maybe I am wrong. I got it working by accessing |
Closing this in favor of #88. |
Hi, @sokra , I'm getting started with webpack-dev-middleware and Gulp, but I have trouble with webpack-dev-middleware. In development mode, when I start the server by
npm start
, it's normal. However, I use Gulp task to start the server, an error happened:The main code in gulpfile.js as following:
And this is my project's address: modern-java-web-scaffold. Is there something wrong with me? Could you give me some advice or solutions.
Thanks in advance.
The text was updated successfully, but these errors were encountered: