ericclemmons / ericclemmons/grunt-express-server

How to configure modRewrite or middleware/connect?

Open
#81 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
249
Forks
59
PR merge metrics
No merged PRs in 30d

Description

I am trying to configure URL rewriting with grunt-express-server in a yeoman generated angular-fullstack site. Unfortunately I tried any conceivable way of configuring connect, livereload and the likes but for some reason I am unable to add HTML rewrite capabilities to the grunt serve task. The end result is that my angularjs app running in html5mode results in a 404 every time the page is live reloaded. Do you happen to have a working example that would show how to configure connect or middleware in a lifereload task?

Yo generator that includes grunt-express-server is located [here](https://github.com/DaftMonk/generator-angular-fullstack)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.