Skip to content
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

Add option main file & ignoreinitial #83

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

indaam
Copy link

@indaam indaam commented Jul 29, 2020

  • main option to only render main file on watch
  • ignoreinitial option to skip first rendered on watch

@ci-reporter
Copy link

ci-reporter bot commented Jul 29, 2020

The build is failing

✨ Good work on this PR so far! ✨ Unfortunately, the Travis CI build is failing as of 821ef34. Here's the output:

npm test
> pug-cli@1.0.0-alpha6 test /home/travis/build/pugjs/pug-cli
> mocha -R spec --bail


/home/travis/build/pugjs/pug-cli/node_modules/mocha/bin/mocha:13
const {deprecate} = require('../lib/utils');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:945:3

I'm sure you can fix it! If you need help, don't hesitate to ask a maintainer of the project!


Failed build for 3c78cde
npm test
> pug-cli@1.0.0-alpha6 test /home/travis/build/pugjs/pug-cli
> mocha -R spec --bail


/home/travis/build/pugjs/pug-cli/node_modules/mocha/bin/mocha:13
const {deprecate} = require('../lib/utils');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:945:3
Failed build for 7b5ab94
npm test
> pug-cli@1.0.0-alpha6 test /home/travis/build/pugjs/pug-cli
> mocha -R spec --bail


/home/travis/build/pugjs/pug-cli/node_modules/mocha/bin/mocha:13
const {deprecate} = require('../lib/utils');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:945:3

This comment was automagically generated by ci-reporter. If you see a problem, open an issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant