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
Load JSON and listen to changes? #179
Comments
This reads only once in NodeJS. |
The file watching should work when you use the https://github.com/RelaxedJS/ReLaXed/tree/master/test/samples/pug/data_require https://github.com/RelaxedJS/ReLaXed/blob/master/README.md#getting-started |
Still not working... The problem is that it still reads the file fine on load but then does not scan for changes. If you make a change to
UPDATE: upgraded to latest 0.2.4 and still seeing the same behavior, node version = 8.15.1 |
I create a PUG that loads a JSON file. The problem is that relaxedjs does not update when I make changes to this file.
Here's the PUG that loads a JSON file:
when I make changes to
my.json
, the console reportsNo process defined for file /my.json.
and does NOT rebuild the document.The text was updated successfully, but these errors were encountered: