Skip to content

Loading…

Does not restart when using fs.readFileSync #55

Closed
patrickliechty opened this Issue · 1 comment

2 participants

@patrickliechty

We are loading locale files using Nodes' fs.readFileSync here: http://nodejs.org/api/fs.html#fs_fs_readfilesync_filename_encoding

Do you plan on supporting file open as well as require? It would be great if it reloaded when file opens are used.

@fgnass
Owner

No. But if you pass the file contents to the vm module and specify the full path as [filename] argument, node-dev will watch that file.

@fgnass fgnass closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.