Question: I use npm run watcher. public/js/lib/* - babel all times parsed (but I set in --ignore) --ignore parameter not usable babel?
    "watchb:front": "babel --watch public --source-maps --ignore \"stimulsoft.*.js,public/js/lib/*\" -d dist/public --copy-files && npm run cp:front",
    "watchb:back": "babel --watch app --source-maps -d dist --copy-files --ignore \"**/*.ts\"",
    "watch:back.ts": "set DEBUG= && nodemon ./app -e ts --exec \"npm run build:back.ts && echo \"",
json That contain npm run watch:back.ts && npm run watchb:front && npm run watch:back and if I set *_ENV=.. then watcher after change some file be used last value ENV

Asked By
Asked At
2017-10-27 06:26:10

Found 15 possible answers.

User Answered At Possible Answer
iqtidar 2017-10-27 09:45:47 KooL @eric
kolodny 2017-10-27 13:15:10 Is the repl working? I can't seem to turn off evaluate and minification
hzoo 2017-10-27 13:16:50 may need to clear cache if it's just broken
rajzshkr 2017-10-27 13:28:20 its working, other than evaluate and minification @kolodny do u face any other issues?
kolodny 2017-10-27 13:28:53 @hzlmn clearing cache didn't help no other issues tho
rajzshkr 2017-10-27 13:31:42 we have a WIP pr ( ) related to minify issue
kolodny 2017-10-27 13:34:33 ah clearing everything in the cache worked, having devtools open with disable cache and didn't work. I had to go into the applications tab in devtools and clear everything
tonymobily 2017-10-27 15:12:13 Thanks for the invite! the kangax tables are probably out of date since there have been a few major releases of Chrome, FF and Safari at least. The developers of transpile-middleware wrote: There is a project doing it already: AS in Express middleware I was just wondering if you were keen on supporting Banel as middleware
hzoo 2017-10-27 15:13:46 > kangax tables are probably out of date
tonymobily 2017-10-27 15:13:47 Also: It doesn't currently attempt to parse or understand scripts within HTML. This is a medium sized update, and with no demand at our end it's unlikely to get done, but feel free to update and submit a PR. Oh, and the list of ES features is incomplete (as per the README), since so far we've only implemented ones we use in our projects.
hzoo 2017-10-27 15:13:58 what do you mean?
tonymobily 2017-10-27 15:15:00 I didn't write it, the developer did But I have to say, having babel as a _fully working_ middleware of express would be awesome
hzoo 2017-10-27 15:15:32 oh ok i thought you meant the table not specifically that repo uses preset-env
tonymobily 2017-10-27 15:16:54 I am about to collapse but... do you provide an express middleware to apply Babel?
hzoo 2017-10-27 15:18:28 i just searched the babel org, looks like we have but not updated so not sure anyone is using it

Related Questions