Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Is it just me or autoreload feature is missing? #446

Closed
marsrobertson opened this issue Jan 5, 2019 · 1 comment
Closed

Is it just me or autoreload feature is missing? #446

marsrobertson opened this issue Jan 5, 2019 · 1 comment

Comments

@marsrobertson
Copy link

Call me old school, but I'm still using Angular 1.x

The main reason being - I can do anything and everything - no need to learn another JavaScript framework (that will make me at most equally productive), I'd rather invest in AI, ML, VR, blockchain, IoT, leadership, negotiation, other soft skills, graphic design, foreign languages and physical fitness.

(unless trainign on the job, then I can use any framework you desire)

Just checking, cannot find LiveReload in package.json

"scripts": {
    "postinstall": "npm run copy-libs",
    "update-deps": "npm update",
    "postupdate-deps": "npm run copy-libs",
    "copy-libs": "cpx \"node_modules/{angular,angular-*,html5-boilerplate/dist}/**/*\" app/lib -C",
    "prestart": "npm install",
    "start": "http-server -a 0.0.0.0 -p 8000 -c-1 ./app",
    "pretest": "npm install",
    "test": "karma start karma.conf.js",
    "test-single-run": "npm test -- --single-run",
    "preupdate-webdriver": "npm install",
    "//": "Do not install the Firefox driver to work around https://github.com/angular/webdriver-manager/issues/303.",
    "update-webdriver": "webdriver-manager update --gecko false",
    "preprotractor": "npm run update-webdriver",
    "protractor": "protractor e2e-tests/protractor.conf.js",
    "update-index-async": "node --eval \"var fs=require('fs'),indexFile='app/index-async.html',loaderFile='app/lib/angular-loader/angular-loader.min.js',loaderText=fs.readFileSync(loaderFile,'utf-8').split(/sourceMappingURL=angular-loader.min.js.map/).join('sourceMappingURL=lib/angular-loader/angular-loader.min.js.map'),indexText=fs.readFileSync(indexFile,'utf-8').split(/\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/).join('//@@NG_LOADER_START@@\\n'+loaderText+'    //@@NG_LOADER_END@@');fs.writeFileSync(indexFile,indexText);\""
  }

I'm using http://livereload.com/ so I'm sorted but I think it should be built-in with existing scripts...

@gkalpak
Copy link
Member

gkalpak commented Jan 7, 2019

This is a very basic (and probably outdated 🙊) seed project, mainly inteded for beginners. With AngularJS now in LTS mode, we do not intend to keep updating or enhancing it with more features.

For a more feature-complete starter, you could use one of the popular generators or a more modern seed (such as angularjs-webpack-starter).

@gkalpak gkalpak closed this as completed Jan 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants