Open musically-ut opened 9 years ago
I did not find the instructions very clear either.
One the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript: grunt.loadNpmTasks('grunt-connect-proxy');
That should probably read "Once". It doesn't say where in the Gruntfile this command goes. And anyway it doesn't even seem necessary.
“You must specify the connect target in the configureProxies task.”
huh?
Regardless, it does appear to work perfectly once installed. Thank you for making and maintaining this tool.
Since version
0.7.1
,grunt-contrib-connect
passesmiddlewares
array to themiddleware
option's function. This array can be modified to change themiddleware
stack instead of hand-picking which middlewares to retain.Hence, if we add a peerDependency on
grunt-contrib-connect
at version0.7.1
, then we can just use the following as the installation instructions:Otherwise, the complicated instructions lead to confusion in how to use the
grunt-connect
plugins.