Hi! First thanks for this rally fine separation of micro and micro-dev, I think it's neat!
Now while using mico-dev it happens to me pretty often that it won't pick up file changes. (I'm using node v8.3.0 on latest macOS).
Usually first file changes are recognized and server is restarted but after a while it just stops re-starting.
Simplest way to reproduce I found up until now is to open index.js file in any editor and just keep saving it (or just hold down cmd + s for few seconds). After few saves micro-dev will stop restarting a server. (It happens also when normally editing code and saving).
package.json
{
"name": "micro-dev-restart-issue",
"main": "index.js",
"scripts": {
"dev": "micro-dev"
},
"devDependencies": {
"micro-dev": "^1.2.0"
}
}
index.js
exports.default = (req, res) => {
res.end('hey')
}
Hi! First thanks for this rally fine separation of
microandmicro-dev, I think it's neat!Now while using
mico-devit happens to me pretty often that it won't pick up file changes. (I'm using node v8.3.0 on latest macOS).Usually first file changes are recognized and server is restarted but after a while it just stops re-starting.
Simplest way to reproduce I found up until now is to open
index.jsfile in any editor and just keep saving it (or just hold down cmd + s for few seconds). After few savesmicro-devwill stop restarting a server. (It happens also when normally editing code and saving).package.json
{ "name": "micro-dev-restart-issue", "main": "index.js", "scripts": { "dev": "micro-dev" }, "devDependencies": { "micro-dev": "^1.2.0" } }index.js