-
Notifications
You must be signed in to change notification settings - Fork 3
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
Autoreload not work #6
Comments
Not working for me also |
Not working for me as well. |
@ycpatel813 @udanpe there's a quick fix for this that worked for me. Not sure if itll work for you but its worth a shot.
This left me wondering if these config changes should be loading and defined by the user within the app. humm. I feel it should be so I created a PR. #7 |
I think I have the same issue (node 6.9.2 / express 4 / handlebars). App seems to reload just fine "App reloaded with changes in api/controllers/DefaultController.js" when files are changed in
In both of the above cases, restarting the app manually produced the expected changes. I suspect Express (or Hapi) has some kind of cache that should be cleared on autoreload., but I didn't find anything in the API for this purpose. Looking at sails-hook-autoreload, they call @udanpe: Maybe the subject should be more specific, like "Detected file changes aren't reflected after browser reload" |
It appears that I'm having this issue as well. I'll add my info here just in case it's helpful:
Quick demo of the issue: |
The exact same thing is happening to me. It autoreloads, but doesn't actually accept my changes. {
"app": "0.0.0",
"node": "v7.4.0",
"libs": {
"http_parser": "2.7.0",
"node": "7.4.0",
"v8": "5.4.500.45",
"uv": "1.10.1",
"zlib": "1.2.8",
"ares": "1.10.1-DEV",
"modules": "51",
"openssl": "1.0.2j",
"icu": "58.2",
"unicode": "9.0",
"cldr": "30.0.3",
"tz": "2016j"
},
"trailpacks": [
{
"name": "repl",
"version": "2.1.0"
},
{
"name": "router",
"version": "2.1.0"
},
{
"name": "hapi",
"version": "2.2.0"
},
{
"name": "autoreload",
"version": "1.0.2"
}
]
} |
Not work for me
node 4.4.4, express 4
When I change text I have message in console, but web page does not change. Nodemon work fine
index(req, res) { res.send('Text') }
trails > info: App reloaded with changes in api/controllers/TestController.js
The text was updated successfully, but these errors were encountered: