Can anyone please suggest which package I can use in Atom which will enable the auto browser refresh when I save my code. If Atom doesn't support the browser functionality directly then is there any other option?
Currently I am using the Vagrant environment so my code runs on a remote server simulator.
Does anyone have any suggestions regarding this?
Ctrl-shift-h refreshes the built in browser but not automatically after you save. But you can use the shortcut yourself after saving file.
Related
I'm pretty new to web developing and very new to VS code. I'm trying to use live-server to be able to get the html in the browser to update without having to refresh the browser. I can't get it to work and I have been googling and trying stuff out for 2 days. Can somebody help me while I still have some hairs left on my head?
Thank you!
/Joel
It's necessary to firsly save the file in which you are working(htmlfile).
In my case i go to file and select autosave. it starts to work as wish.
Auto Save or Prompt before navigating away from text editors in Kentico CMSDesk not working. I already set the Settings -> Content Management -> Prompt to save changes on exit to checked, but didn't work. Can somebody help me.
-Thanks in advance
What I would suggest is to enable the developer tools in chrome or firebug in firefox and check, if there are any javascript errors in your pages. it's possible that some custom javascript interferes with this check. Check for any errors and try to resolve them. Or, as a test, try creating a completely blank page in the content tree, with only an editable region and disable any master page inheritance so there won't be any custom code used on your page and test, if it works there. If it does, then keep adding your scripts and test to see which component or script is causing the issue. Also make sure your settings are enabled on a site level in the settings application.
Which version and hotfix do you use? I suppose you are using v7 (or less - because of CMSDesk). Please note there were some bug fixes related to prompt in CMSDesk (eg. in 7.0.80).
Content editing - The ‘Prompt to save changes on exit’ setting didn’t work correctly
You can find more information about hotfixes and fixed bugs here.
edit: after additional info (screen from your console) I think you have registered your own jquery and you don`t have registered it in no conflict mode. Can you agree? Could you register your jquery in nonconflict mode and try the prompt behavior again?
I'm using Sublime Text 3.
When I go to Tools -> Xdebug -> Start Debugging (Launch Browser), Internet Explorer launches, although I have set Google Chrome to be my default browser in Windows 10 Settings.
I tried looking into Sublime Text settings files but I did not find anything concerning default browsers.
Is there a way to fix it?
XDebug Client (which I assume you're using) uses Python's webbrowser module to launch your browser. Apparently, something is wrong with your Windows setup, or the way the default browser is defined has changed, as webbrowser's default functionality isn't working. You can try it by opening Sublime's console (View -> Show Console or Ctrl`) and entering the following code:
import webbrowser; webbrowser.open("https://www.google.com")
I would imagine based on your problem that IE will open.
The only way I know of to get around this, short of modifying the code for XDebug, is to set the BROWSER environment variable to the complete path to the Chrome executable. Once you do that, completely restart Sublime, reconnect to your PHP server, and see if Chrome now works. You can also try the above code again.
Good luck!
For my test I need to use secure browser - needs to be run as an application (single exe file) and it lunches to designated site in kiosk mode (disables task switching). Once I'm there it's Angular page so I think it should work but I don't know how to lunch secure browser ?
i dont think this is possibe right now. protractor needs browser specific drivers. have a look at protractor browser support.
I have tried using the Tincr Chrome Extension now on Windows and Linux (Ubuntu) and it still does not seem to do the Live Reloading it claims to on its website when I am editing the file in an external editor. The Tin.cr website claims:
Any CSS or JavaScript changes you make in any editor reloads in Chrome
without refreshing the whole page
To explain further, I have tried installing this extension as an unpacked extension in Chrome with Developer Mode checked under chrome://chrome/extensions/ as suggested in the Tincr documentation. I have also tried installing this extension directly through the Chrome Web Store. The effect has been the same.
In terms of setting up Tincr, I have tried opening up my file locally without a web server using file://C:/htdocs/file.html which Tincr claims in its documentation it can read automatically without needing any setup, and also I have tried opening up my file via an Apache Web Server on localhost e.g. localhost/file.html and setting up the Project Type in Tincr as Http Web Server as suggested in the documentation, but both ways have been to no avail.
In terms of editing my local file, I have used a number of different external editors, for example, Geany on Ubuntu and Titanium Studio on Windows.
After editing the file in the editor I have left the page I am editing open in my Chrome browser with the Tincr plugin setup and enabled. However, after saving my file in the editor and looking to see if it live reloads in Chrome, nothing happens. The file simply stays the same. Again, to reiterate, this is happening in both Windows and Linux (Ubuntu).
And so my question is this: has anyone successful tried using this extension with an external editor and if so could you please detail the steps to get live reload to work as I'm beginning to think this may be a bug in the extension?
I think I may have an explaination. Having a look at the google groups for Tincr, it appears Tincr does not support html file refresh, and that it can only detect changes in either css or javascript.
source: https://groups.google.com/forum/#!topic/tincr-for-chrome-devtools/VyC0mavLs_A