You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 file.json, it still says No process defined for file /file.json. What version of relaxed does this apply to?
npx relaxed file.pug -t ./
-
const path = require('path');
const data = require(path.join(basedir, 'file.json'));
section
p #{data.foo}
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: